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
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -1884,8 +1884,9 @@ PerfLongVariable * ObjectMonitor::_sync_MonExtant = NULL;
|
|||
|
||||
// One-shot global initialization for the sync subsystem.
|
||||
// We could also defer initialization and initialize on-demand
|
||||
// the first time we call inflate(). Initialization would
|
||||
// be protected - like so many things - by the MonitorCache_lock.
|
||||
// the first time we call ObjectSynchronizer::inflate().
|
||||
// Initialization would be protected - like so many things - by
|
||||
// the MonitorCache_lock.
|
||||
|
||||
void ObjectMonitor::Initialize() {
|
||||
assert(!InitDone, "invariant");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue