< prev index next >

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

Print this page
rev 58017 : [mq]: 8238854-remove-superfluous-alloc-checks

@@ -266,13 +266,10 @@
     _num_root_regions(0),
     _claimed_root_regions(0),
     _scan_in_progress(false),
     _should_abort(false) {
   _root_regions = new MemRegion[_max_regions];
-  if (_root_regions == NULL) {
-    vm_exit_during_initialization("Could not allocate root MemRegion set.");
-  }
 }
 
 G1CMRootMemRegions::~G1CMRootMemRegions() {
   delete[] _root_regions;
 }
< prev index next >