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 } |