--- old/src/hotspot/share/runtime/biasedLocking.cpp 2020-07-22 10:13:04.195329715 +0200 +++ new/src/hotspot/share/runtime/biasedLocking.cpp 2020-07-22 10:13:04.071328675 +0200 @@ -907,6 +907,7 @@ _preserved_oop_stack = new (ResourceObj::C_HEAP, mtGC) GrowableArray(10, mtGC); ResourceMark rm; + HandleMark hm; Thread* cur = Thread::current(); for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) { if (thread->has_last_Java_frame()) {