< prev index next >

src/hotspot/share/gc/shared/collectorCounters.cpp

Print this page
*** 65,11 ***
  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());
    }
--- 65,11 ---
  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 >