< prev index next >
src/share/vm/runtime/synchronizer.hpp
Print this page
rev 13349 : imported patch deflate.patch
@@ -143,16 +143,18 @@
// 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_per_thread(Thread* thread);
+ 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,
ObjectMonitor** freeHeadp,
- ObjectMonitor** freeTailp);
+ ObjectMonitor** freeTailp,
+ OopClosure* cl = NULL);
static bool deflate_monitor(ObjectMonitor* mid, oop obj,
ObjectMonitor** freeHeadp,
ObjectMonitor** freeTailp);
static void oops_do(OopClosure* f);
static void thread_local_used_oops_do(Thread* thread, OopClosure* f);
< prev index next >