diff -r 5e8f9713e343 -r 3636bab5e81e src/hotspot/share/runtime/synchronizer.hpp --- a/src/hotspot/share/runtime/synchronizer.hpp Fri Nov 29 11:26:25 2019 +0100 +++ b/src/hotspot/share/runtime/synchronizer.hpp Fri Nov 29 12:09:25 2019 +0100 @@ -138,6 +138,7 @@ ObjectMonitor** free_head_p, ObjectMonitor** free_tail_p); static bool is_cleanup_needed(); + static bool needs_monitor_scavenge(); static void oops_do(OopClosure* f); // Process oops in thread local used monitors static void thread_local_used_oops_do(Thread* thread, OopClosure* f);