equal
deleted
inserted
replaced
23 */ |
23 */ |
24 |
24 |
25 #ifndef SHARE_UTILITIES_GLOBAL_COUNTER_INLINE_HPP |
25 #ifndef SHARE_UTILITIES_GLOBAL_COUNTER_INLINE_HPP |
26 #define SHARE_UTILITIES_GLOBAL_COUNTER_INLINE_HPP |
26 #define SHARE_UTILITIES_GLOBAL_COUNTER_INLINE_HPP |
27 |
27 |
28 #include "runtime/orderAccess.inline.hpp" |
28 #include "runtime/orderAccess.hpp" |
29 #include "runtime/thread.inline.hpp" |
29 #include "runtime/thread.inline.hpp" |
30 #include "utilities/globalCounter.hpp" |
30 #include "utilities/globalCounter.hpp" |
31 |
31 |
32 inline void GlobalCounter::critical_section_begin(Thread *thread) { |
32 inline void GlobalCounter::critical_section_begin(Thread *thread) { |
33 assert(thread == Thread::current(), "must be current thread"); |
33 assert(thread == Thread::current(), "must be current thread"); |