< prev index next >
src/share/vm/gc/shared/gcTimer.hpp
Print this page
rev 9733 : [mq]: webrev.00
rev 9735 : [mq]: webrev.02
*** 160,175 ****
};
class ConcurrentGCTimer : public GCTimer {
// ConcurrentGCTimer can't be used if there is an overlap between a pause phase and a concurrent phase.
// _is_concurrent_phase_active is used to find above case.
! NOT_PRODUCT(volatile bool _is_concurrent_phase_active;)
public:
- #ifndef PRODUCT
ConcurrentGCTimer(): GCTimer(), _is_concurrent_phase_active(false) {};
- #endif
void register_gc_pause_start(const char* name);
void register_gc_pause_end();
void register_gc_concurrent_start(const char* name, const Ticks& time = Ticks::now());
--- 160,173 ----
};
class ConcurrentGCTimer : public GCTimer {
// ConcurrentGCTimer can't be used if there is an overlap between a pause phase and a concurrent phase.
// _is_concurrent_phase_active is used to find above case.
! bool _is_concurrent_phase_active;
public:
ConcurrentGCTimer(): GCTimer(), _is_concurrent_phase_active(false) {};
void register_gc_pause_start(const char* name);
void register_gc_pause_end();
void register_gc_concurrent_start(const char* name, const Ticks& time = Ticks::now());
< prev index next >