6852873: Reduce safepoint cleanup time

New optional flags to reduce inflated monitor cleanup times

Reviewed-by: chrisphi, dice
This commit is contained in:
Karen Kinnear 2010-06-03 13:21:47 -04:00
parent d2703f3e8d
commit 9934e0af8e
5 changed files with 221 additions and 54 deletions

View file

@ -150,6 +150,8 @@ class ObjectSynchronizer : AllStatic {
// 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 bool deflate_monitor(ObjectMonitor* mid, oop obj, ObjectMonitor** FreeHeadp,
ObjectMonitor** FreeTailp);
static void oops_do(OopClosure* f);
// debugging