mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8217658: baseline_cleanups from Async Monitor Deflation project
Baseline_cleanups from Async Monitor Deflation project plus a couple of misc others. Reviewed-by: dholmes, rehn
This commit is contained in:
parent
89e28292d2
commit
2d9925782f
9 changed files with 77 additions and 98 deletions
|
@ -37,7 +37,7 @@ class ThreadsList;
|
|||
struct DeflateMonitorCounters {
|
||||
int nInuse; // currently associated with objects
|
||||
int nInCirculation; // extant
|
||||
int nScavenged; // reclaimed
|
||||
int nScavenged; // reclaimed (global and per-thread)
|
||||
double perThreadTimes; // per-thread scavenge times
|
||||
};
|
||||
|
||||
|
@ -114,7 +114,7 @@ class ObjectSynchronizer : AllStatic {
|
|||
// Inflate light weight monitor to heavy weight monitor
|
||||
static ObjectMonitor* inflate(Thread * Self, oop obj, const InflateCause cause);
|
||||
// This version is only for internal use
|
||||
static ObjectMonitor* inflate_helper(oop obj);
|
||||
static void inflate_helper(oop obj);
|
||||
static const char* inflate_cause_name(const InflateCause cause);
|
||||
|
||||
// Returns the identity hash value for an oop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue