Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/mutexLocker.hpp @ 22797:f46871c6c063
8035663: Suspicious failure of test java/util/concurrent/Phaser/FickleRegister.java
Reviewed-by: shade, coleenp
author | dholmes |
---|---|
date | Tue, 25 Nov 2014 21:00:21 -0500 |
parents | 581e70386ec9 |
children | b6a1bf5222c5 |
line wrap: on
line diff
--- a/src/share/vm/runtime/mutexLocker.hpp Wed Dec 17 10:43:38 2014 -0800 +++ b/src/share/vm/runtime/mutexLocker.hpp Tue Nov 25 21:00:21 2014 -0500 @@ -151,6 +151,10 @@ extern Mutex* JfrThreadGroups_lock; // protects JFR access to Thread Groups #endif +#ifndef SUPPORTS_NATIVE_CX8 +extern Mutex* UnsafeJlong_lock; // provides Unsafe atomic updates to jlongs on platforms that don't support cx8 +#endif + // A MutexLocker provides mutual exclusion with respect to a given mutex // for the scope which contains the locker. The lock is an OS lock, not // an object lock, and the two do not interoperate. Do not use Mutex-based