diff src/share/vm/runtime/synchronizer.hpp @ 1587:b96a3e44582f

6852873: Reduce safepoint cleanup time Summary: New optional flags to reduce inflated monitor cleanup times Reviewed-by: chrisphi, dice
author acorn
date Thu, 03 Jun 2010 13:21:47 -0400
parents a61af66fc99e
children 3a9de63b2209
line wrap: on
line diff
--- a/src/share/vm/runtime/synchronizer.hpp	Wed May 26 14:16:55 2010 -0700
+++ b/src/share/vm/runtime/synchronizer.hpp	Thu Jun 03 13:21:47 2010 -0400
@@ -150,6 +150,8 @@
   // 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