--- old/src/hotspot/share/runtime/sharedRuntime.hpp 2018-07-31 10:42:47.416811755 -0400 +++ new/src/hotspot/share/runtime/sharedRuntime.hpp 2018-07-31 10:42:47.276812010 -0400 @@ -486,6 +486,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);