< prev index next >

src/share/vm/runtime/handles.cpp

Print this page

        

@@ -70,11 +70,12 @@
   // during GC phase 3, a handle may be a forward pointer that
   // is not yet valid, so loosen the assertion
   while (bottom < top) {
     // This test can be moved up but for now check every oop.
 
-    assert((*bottom)->is_oop(), "handle should point to oop");
+    // JFR is known to set mark word to 0 for duration of leak analysis VM operaiton
+    assert((*bottom)->is_oop(INCLUDE_JFR), "handle should point to oop");
 
     f->do_oop(bottom++);
   }
   return handles_visited;
 }
< prev index next >