< prev index next >

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

Print this page
*** 70,13 ***
    _inc_predicted_elapsed_time_ms(0.0),
    _inc_predicted_elapsed_time_ms_diff(0.0) {
  }
  
  G1CollectionSet::~G1CollectionSet() {
!   if (_collection_set_regions != NULL) {
-     FREE_C_HEAP_ARRAY(uint, _collection_set_regions);
-   }
    free_optional_regions();
    clear_candidates();
  }
  
  void G1CollectionSet::init_region_lengths(uint eden_cset_region_length,
--- 70,11 ---
    _inc_predicted_elapsed_time_ms(0.0),
    _inc_predicted_elapsed_time_ms_diff(0.0) {
  }
  
  G1CollectionSet::~G1CollectionSet() {
!   FREE_C_HEAP_ARRAY(uint, _collection_set_regions);
    free_optional_regions();
    clear_candidates();
  }
  
  void G1CollectionSet::init_region_lengths(uint eden_cset_region_length,
< prev index next >