--- old/src/hotspot/share/runtime/synchronizer.hpp Tue Nov 14 13:28:22 2017 +++ new/src/hotspot/share/runtime/synchronizer.hpp Tue Nov 14 13:28:21 2017 @@ -32,6 +32,7 @@ #include "runtime/perfData.hpp" class ObjectMonitor; +class ThreadsList; struct DeflateMonitorCounters { int nInuse; // currently associated with objects @@ -125,7 +126,7 @@ static bool current_thread_holds_lock(JavaThread* thread, Handle h_obj); static LockOwnership query_lock_ownership(JavaThread * self, Handle h_obj); - static JavaThread* get_lock_owner(Handle h_obj, bool doLock); + static JavaThread* get_lock_owner(ThreadsList * t_list, Handle h_obj); // JNI detach support static void release_monitors_owned_by_thread(TRAPS);