< prev index next >

src/hotspot/os/solaris/os_perf_solaris.cpp

Print this page
*** 324,13 ***
    }
    return true;
  }
  
  CPUPerformanceInterface::CPUPerformance::~CPUPerformance() {
!   if (_counters.jvmTicks != NULL) {
-     FREE_C_HEAP_ARRAY(char, _counters.jvmTicks);
-   }
    if (_counters.kstat_ctrl != NULL) {
      kstat_close(_counters.kstat_ctrl);
    }
  }
  
--- 324,11 ---
    }
    return true;
  }
  
  CPUPerformanceInterface::CPUPerformance::~CPUPerformance() {
!   FREE_C_HEAP_ARRAY(char, _counters.jvmTicks);
    if (_counters.kstat_ctrl != NULL) {
      kstat_close(_counters.kstat_ctrl);
    }
  }
  
< prev index next >