8035663: Suspicious failure of test java/util/concurrent/Phaser/FickleRegister.java

Reviewed-by: shade, coleenp
This commit is contained in:
David Holmes 2014-11-25 21:00:21 -05:00
parent 5ffd65a731
commit 26dc1466b7
3 changed files with 50 additions and 11 deletions

View file

@ -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) {