--- old/src/hotspot/share/runtime/sharedRuntime.hpp 2020-02-06 19:18:24.360548495 +0100 +++ new/src/hotspot/share/runtime/sharedRuntime.hpp 2020-02-06 19:18:24.198548509 +0100 @@ -487,6 +487,10 @@ // Block before entering a JNI critical method static void block_for_jni_critical(JavaThread* thread); + // Pin/Unpin object + static oopDesc* pin_object(JavaThread* thread, oopDesc* obj); + static void unpin_object(JavaThread* thread, oopDesc* obj); + // A compiled caller has just called the interpreter, but compiled code // exists. Patch the caller so he no longer calls into the interpreter. static void fixup_callers_callsite(Method* moop, address ret_pc);