mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8231472: Clean up Monitor::_safepoint_check usage to Mutex::_safepoint_check
Change Monitor:: to Mutex:: when allocating a Mutex, and in mutexLocker. Reviewed-by: rehn, dholmes
This commit is contained in:
parent
2f2ec624a2
commit
59dcb50e96
8 changed files with 105 additions and 105 deletions
|
@ -178,7 +178,7 @@ GCMemoryManager::GCMemoryManager(const char* name, const char* gc_end_message) :
|
|||
_num_collections = 0;
|
||||
_last_gc_stat = NULL;
|
||||
_last_gc_lock = new Mutex(Mutex::leaf, "_last_gc_lock", true,
|
||||
Monitor::_safepoint_check_never);
|
||||
Mutex::_safepoint_check_never);
|
||||
_current_gc_stat = NULL;
|
||||
_num_gc_threads = 1;
|
||||
_notification_enabled = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue