--- old/src/hotspot/share/prims/jvmtiTagMap.cpp 2019-11-20 00:10:34.382202195 +0100 +++ new/src/hotspot/share/prims/jvmtiTagMap.cpp 2019-11-20 00:10:33.819183370 +0100 @@ -1271,9 +1271,6 @@ } // do the iteration - // If this operation encounters a bad object when using CMS, - // consider using safe_object_iterate() which avoids perm gen - // objects that may contain bad references. Universe::heap()->object_iterate(_blk); }