< prev index next >

src/hotspot/share/gc/g1/g1RemSetSummary.cpp

Print this page
*** 105,13 ***
    _sampling_thread_vtime(0.0f) {
    update();
  }
  
  G1RemSetSummary::~G1RemSetSummary() {
!   if (_rs_threads_vtimes) {
-     FREE_C_HEAP_ARRAY(double, _rs_threads_vtimes);
-   }
  }
  
  void G1RemSetSummary::set(G1RemSetSummary* other) {
    assert(other != NULL, "just checking");
    assert(_num_vtimes == other->_num_vtimes, "just checking");
--- 105,11 ---
    _sampling_thread_vtime(0.0f) {
    update();
  }
  
  G1RemSetSummary::~G1RemSetSummary() {
!   FREE_C_HEAP_ARRAY(double, _rs_threads_vtimes);
  }
  
  void G1RemSetSummary::set(G1RemSetSummary* other) {
    assert(other != NULL, "just checking");
    assert(_num_vtimes == other->_num_vtimes, "just checking");
< prev index next >