diff -r c7a3e57fdf4a -r b985cbb00e68 src/share/vm/runtime/handles.cpp --- a/src/share/vm/runtime/handles.cpp Thu Aug 01 03:44:03 2019 +0100 +++ b/src/share/vm/runtime/handles.cpp Mon Aug 12 18:30:40 2019 +0300 @@ -72,7 +72,8 @@ 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++); }