Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/jvmtiRawMonitor.cpp @ 20197:ce8f6bb717c9
8042195: Introduce umbrella header orderAccess.inline.hpp.
Reviewed-by: dholmes, kvn, stefank, twisti
author | goetz |
---|---|
date | Tue, 29 Apr 2014 15:17:27 +0200 |
parents | b9a9ed0f8eeb |
children |
comparison
equal
deleted
inserted
replaced
20196:c8dd4f65cc76 | 20197:ce8f6bb717c9 |
---|---|
23 */ | 23 */ |
24 | 24 |
25 #include "precompiled.hpp" | 25 #include "precompiled.hpp" |
26 #include "prims/jvmtiRawMonitor.hpp" | 26 #include "prims/jvmtiRawMonitor.hpp" |
27 #include "runtime/interfaceSupport.hpp" | 27 #include "runtime/interfaceSupport.hpp" |
28 #include "runtime/thread.hpp" | 28 #include "runtime/orderAccess.inline.hpp" |
29 #include "runtime/thread.inline.hpp" | |
29 | 30 |
30 GrowableArray<JvmtiRawMonitor*> *JvmtiPendingMonitors::_monitors = new (ResourceObj::C_HEAP, mtInternal) GrowableArray<JvmtiRawMonitor*>(1,true); | 31 GrowableArray<JvmtiRawMonitor*> *JvmtiPendingMonitors::_monitors = new (ResourceObj::C_HEAP, mtInternal) GrowableArray<JvmtiRawMonitor*>(1,true); |
31 | 32 |
32 void JvmtiPendingMonitors::transition_raw_monitors() { | 33 void JvmtiPendingMonitors::transition_raw_monitors() { |
33 assert((Threads::number_of_threads()==1), | 34 assert((Threads::number_of_threads()==1), |