--- old/src/hotspot/share/prims/jvmtiTagMap.cpp 2020-02-21 11:14:11.703719454 +0100 +++ new/src/hotspot/share/prims/jvmtiTagMap.cpp 2020-02-21 11:14:11.439715035 +0100 @@ -1776,7 +1776,7 @@ // if the object hasn't been visited then push it onto the visit stack // so that it will be visited later static inline bool check_for_visit(oop obj) { - if (!_object_marker->visited(obj)) visit_stack()->push(obj); + if (!_object_marker->marked(obj)) visit_stack()->push(obj); return true; }