mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8289230: Move PlatformXXX class declarations out of os_xxx.hpp
Reviewed-by: coleenp, ccheung
This commit is contained in:
parent
44e8c462b4
commit
cdf6979259
36 changed files with 782 additions and 469 deletions
|
@ -240,11 +240,11 @@ int dtrace_waited_probe(ObjectMonitor* monitor, Handle obj, Thread* thr) {
|
|||
}
|
||||
|
||||
static const int NINFLATIONLOCKS = 256;
|
||||
static os::PlatformMutex* gInflationLocks[NINFLATIONLOCKS];
|
||||
static PlatformMutex* gInflationLocks[NINFLATIONLOCKS];
|
||||
|
||||
void ObjectSynchronizer::initialize() {
|
||||
for (int i = 0; i < NINFLATIONLOCKS; i++) {
|
||||
gInflationLocks[i] = new os::PlatformMutex();
|
||||
gInflationLocks[i] = new PlatformMutex();
|
||||
}
|
||||
// Start the ceiling with the estimate for one thread.
|
||||
set_in_use_list_ceiling(AvgMonitorsPerThreadEstimate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue