src/share/vm/runtime/handles.cpp

changeset 9858
b985cbb00e68
parent 6680
78bbf4d43a14
child 9931
fd44df5e3bc3
equal deleted inserted replaced
9727:c7a3e57fdf4a 9858:b985cbb00e68
70 // during GC phase 3, a handle may be a forward pointer that 70 // during GC phase 3, a handle may be a forward pointer that
71 // is not yet valid, so loosen the assertion 71 // is not yet valid, so loosen the assertion
72 while (bottom < top) { 72 while (bottom < top) {
73 // This test can be moved up but for now check every oop. 73 // This test can be moved up but for now check every oop.
74 74
75 assert((*bottom)->is_oop(), "handle should point to oop"); 75 // JFR is known to set mark word to 0 for duration of leak analysis VM operaiton
76 assert((*bottom)->is_oop(INCLUDE_JFR), "handle should point to oop");
76 77
77 f->do_oop(bottom++); 78 f->do_oop(bottom++);
78 } 79 }
79 return handles_visited; 80 return handles_visited;
80 } 81 }

mercurial