hotspot/src/share/vm/memory/cardTableModRefBS.cpp
changeset 27880 afb974a04396
parent 26160 aba6b01cb988
child 27883 3179632c8f66
equal deleted inserted replaced
27879:419385282044 27880:afb974a04396
   170   if (_committed) {
   170   if (_committed) {
   171     delete[] _committed;
   171     delete[] _committed;
   172     _committed = NULL;
   172     _committed = NULL;
   173   }
   173   }
   174   if (_lowest_non_clean) {
   174   if (_lowest_non_clean) {
   175     FREE_C_HEAP_ARRAY(CardArr, _lowest_non_clean, mtGC);
   175     FREE_C_HEAP_ARRAY(CardArr, _lowest_non_clean);
   176     _lowest_non_clean = NULL;
   176     _lowest_non_clean = NULL;
   177   }
   177   }
   178   if (_lowest_non_clean_chunk_size) {
   178   if (_lowest_non_clean_chunk_size) {
   179     FREE_C_HEAP_ARRAY(size_t, _lowest_non_clean_chunk_size, mtGC);
   179     FREE_C_HEAP_ARRAY(size_t, _lowest_non_clean_chunk_size);
   180     _lowest_non_clean_chunk_size = NULL;
   180     _lowest_non_clean_chunk_size = NULL;
   181   }
   181   }
   182   if (_lowest_non_clean_base_chunk_index) {
   182   if (_lowest_non_clean_base_chunk_index) {
   183     FREE_C_HEAP_ARRAY(uintptr_t, _lowest_non_clean_base_chunk_index, mtGC);
   183     FREE_C_HEAP_ARRAY(uintptr_t, _lowest_non_clean_base_chunk_index);
   184     _lowest_non_clean_base_chunk_index = NULL;
   184     _lowest_non_clean_base_chunk_index = NULL;
   185   }
   185   }
   186   if (_last_LNC_resizing_collection) {
   186   if (_last_LNC_resizing_collection) {
   187     FREE_C_HEAP_ARRAY(int, _last_LNC_resizing_collection, mtGC);
   187     FREE_C_HEAP_ARRAY(int, _last_LNC_resizing_collection);
   188     _last_LNC_resizing_collection = NULL;
   188     _last_LNC_resizing_collection = NULL;
   189   }
   189   }
   190 }
   190 }
   191 
   191 
   192 int CardTableModRefBS::find_covering_region_by_base(HeapWord* base) {
   192 int CardTableModRefBS::find_covering_region_by_base(HeapWord* base) {