< prev index next >

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

Print this page
@@ -529,13 +529,11 @@
    memset(new_claims, Unclaimed, sizeof(*_claims) * _n_regions);
    _claims = new_claims;
  }
  
  HeapRegionClaimer::~HeapRegionClaimer() {
-   if (_claims != NULL) {
-     FREE_C_HEAP_ARRAY(uint, _claims);
-   }
+   FREE_C_HEAP_ARRAY(uint, _claims);
  }
  
  uint HeapRegionClaimer::offset_for_worker(uint worker_id) const {
    assert(worker_id < _n_workers, "Invalid worker_id.");
    return _n_regions * worker_id / _n_workers;
< prev index next >