mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8035663: Suspicious failure of test java/util/concurrent/Phaser/FickleRegister.java
Reviewed-by: shade, coleenp
This commit is contained in:
parent
5ffd65a731
commit
26dc1466b7
3 changed files with 50 additions and 11 deletions
|
@ -136,6 +136,10 @@ Mutex* JfrStream_lock = NULL;
|
|||
Mutex* JfrThreadGroups_lock = NULL;
|
||||
#endif
|
||||
|
||||
#ifndef SUPPORTS_NATIVE_CX8
|
||||
Mutex* UnsafeJlong_lock = NULL;
|
||||
#endif
|
||||
|
||||
#define MAX_NUM_MUTEX 128
|
||||
static Monitor * _mutex_array[MAX_NUM_MUTEX];
|
||||
static int _num_mutex;
|
||||
|
@ -286,6 +290,9 @@ void mutex_init() {
|
|||
def(JfrStacktrace_lock , Mutex, special, true);
|
||||
#endif
|
||||
|
||||
#ifndef SUPPORTS_NATIVE_CX8
|
||||
def(UnsafeJlong_lock , Mutex, special, false);
|
||||
#endif
|
||||
}
|
||||
|
||||
GCMutexLocker::GCMutexLocker(Monitor * mutex) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue