equal
deleted
inserted
replaced
27 #include "gc/shared/concurrentGCThread.hpp" |
27 #include "gc/shared/concurrentGCThread.hpp" |
28 #include "gc/shared/gcTimer.hpp" |
28 #include "gc/shared/gcTimer.hpp" |
29 #include "gc/z/zMetronome.hpp" |
29 #include "gc/z/zMetronome.hpp" |
30 #include "logging/logHandle.hpp" |
30 #include "logging/logHandle.hpp" |
31 #include "memory/allocation.hpp" |
31 #include "memory/allocation.hpp" |
|
32 #include "utilities/globalDefinitions.hpp" |
32 #include "utilities/numberSeq.hpp" |
33 #include "utilities/numberSeq.hpp" |
33 #include "utilities/ticks.hpp" |
34 #include "utilities/ticks.hpp" |
34 |
35 |
35 class ZPage; |
36 class ZPage; |
36 class ZStatSampler; |
37 class ZStatSampler; |
269 // |
270 // |
270 // Stat timer |
271 // Stat timer |
271 // |
272 // |
272 class ZStatTimerDisable : public StackObj { |
273 class ZStatTimerDisable : public StackObj { |
273 private: |
274 private: |
274 static __thread uint32_t _active; |
275 static THREAD_LOCAL uint32_t _active; |
275 |
276 |
276 public: |
277 public: |
277 ZStatTimerDisable() { |
278 ZStatTimerDisable() { |
278 _active++; |
279 _active++; |
279 } |
280 } |