src/hotspot/share/gc/z/zStat.hpp
changeset 58125 9b4717ca9bd1
parent 55285 9a120214e732
child 58679 9c3209ff7550
child 58701 5d10ba4a0468
equal deleted inserted replaced
58124:dc792fa77da0 58125:9b4717ca9bd1
    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   }