mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
6852873: Reduce safepoint cleanup time
New optional flags to reduce inflated monitor cleanup times Reviewed-by: chrisphi, dice
This commit is contained in:
parent
d2703f3e8d
commit
9934e0af8e
5 changed files with 221 additions and 54 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue