< prev index next >

src/hotspot/share/gc/z/zStat.cpp

Print this page

        

@@ -747,10 +747,15 @@
     log_end(log, duration, true /* thread */);
   }
 }
 
 //
+// Stat timer
+//
+__thread uint32_t ZStatTimerDisable::_active = 0;
+
+//
 // Stat sample/inc
 //
 void ZStatSample(const ZStatSampler& sampler, uint64_t value, bool trace) {
   ZStatSamplerData* const cpu_data = sampler.get();
   Atomic::add(1u, &cpu_data->_nsamples);
< prev index next >