< prev index next >

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

Print this page
rev 58025 : imported patch 8238854-remove-superfluous-alloc-checks
rev 58026 : [mq]: 8238854-sjohanss-review

*** 266,275 **** --- 266,278 ---- _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 >