< prev index next > src/hotspot/share/gc/shared/collectorCounters.cpp
Print this page
CollectorCounters::~CollectorCounters() {
FREE_C_HEAP_ARRAY(char, _name_space);
}
TraceCollectorStats::TraceCollectorStats(CollectorCounters* c) :
! PerfTraceTimedEvent(c->time_counter(), c->invocation_counter()),
_c(c) {
if (UsePerfData) {
_c->last_entry_counter()->set_value(os::elapsed_counter());
}
CollectorCounters::~CollectorCounters() {
FREE_C_HEAP_ARRAY(char, _name_space);
}
TraceCollectorStats::TraceCollectorStats(CollectorCounters* c) :
! PerfTraceElapsedTimeEvent(c->time_counter(), c->invocation_counter()),
_c(c) {
if (UsePerfData) {
_c->last_entry_counter()->set_value(os::elapsed_counter());
}
< prev index next >