< prev index next >

src/share/vm/runtime/synchronizer.hpp

Print this page
rev 13387 : [mq]: parallel_sp_cleaning.patch

*** 142,152 **** static void monitors_iterate(MonitorClosure* m); // GC: we current use aggressive monitor deflation policy // Basically we deflate all monitors that are not busy. // An adaptive profile-based deflation policy could be used if needed ! static void deflate_idle_monitors(); static void deflate_idle_monitors_and_oops_do(Thread* thread, OopClosure* cl); static void deflate_idle_monitors_all_threads(); // For a given monitor list: global or per-thread, deflate idle monitors static int deflate_monitor_list(ObjectMonitor** listheadp, --- 142,154 ---- static void monitors_iterate(MonitorClosure* m); // GC: we current use aggressive monitor deflation policy // Basically we deflate all monitors that are not busy. // An adaptive profile-based deflation policy could be used if needed ! // When deflate_tl is true, also deflate thread-local monitors. Otherwise only ! // deflate global monitors. ! static void deflate_idle_monitors(bool deflate_thread_local_monitors); static void deflate_idle_monitors_and_oops_do(Thread* thread, OopClosure* cl); static void deflate_idle_monitors_all_threads(); // For a given monitor list: global or per-thread, deflate idle monitors static int deflate_monitor_list(ObjectMonitor** listheadp,
< prev index next >