File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
src/hotspot/share/jfr/leakprofiler/chains Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -230,8 +230,6 @@ void BFSClosure::do_oop(narrowOop* ref) {
230
230
231
231
void BFSClosure::do_root (const oop* ref) {
232
232
assert (ref != NULL , " invariant" );
233
- assert (is_aligned (ref, HeapWordSize), " invariant" );
234
- assert (*ref != NULL , " invariant" );
235
233
if (!_edge_queue->is_full ()) {
236
234
_edge_queue->add (NULL , ref);
237
235
}
Original file line number Diff line number Diff line change @@ -178,8 +178,7 @@ void DFSClosure::do_oop(narrowOop* ref) {
178
178
179
179
void DFSClosure::do_root (const oop* ref) {
180
180
assert (ref != NULL , " invariant" );
181
- assert (is_aligned (ref, HeapWordSize), " invariant" );
182
- const oop pointee = *ref;
181
+ const oop pointee = UnifiedOop::dereference (ref);
183
182
assert (pointee != NULL , " invariant" );
184
183
closure_impl (ref, pointee);
185
184
}
You can’t perform that action at this time.
0 commit comments