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:
Daniel D. Daugherty 2019-01-29 14:09:38 -05:00
parent 89e28292d2
commit 2d9925782f
9 changed files with 77 additions and 98 deletions

View file

@ -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