mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8232616: JVMCI_lock fails to get initialized when cds is disabled
Reviewed-by: iklam, dholmes
This commit is contained in:
parent
5db7fc5aa9
commit
048b09bdbe
1 changed files with 2 additions and 2 deletions
|
@ -334,12 +334,12 @@ void mutex_init() {
|
|||
#if INCLUDE_JVMTI
|
||||
def(CDSClassFileStream_lock , PaddedMutex , max_nonleaf, false, _safepoint_check_always);
|
||||
#endif
|
||||
def(DumpTimeTable_lock , PaddedMutex , leaf, true, _safepoint_check_never);
|
||||
#endif // INCLUDE_CDS
|
||||
|
||||
#if INCLUDE_JVMCI
|
||||
def(JVMCI_lock , PaddedMonitor, nonleaf+2, true, _safepoint_check_always);
|
||||
#endif
|
||||
def(DumpTimeTable_lock , PaddedMutex , leaf, true, _safepoint_check_never);
|
||||
#endif // INCLUDE_CDS
|
||||
}
|
||||
|
||||
GCMutexLocker::GCMutexLocker(Mutex* mutex) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue