8238854: Remove superfluous C heap allocation failure checks

Reviewed-by: kbarrett, sjohanss
This commit is contained in:
Thomas Schatzl 2020-02-13 11:00:40 +01:00
parent 00484e9446
commit 78f58c3e39
14 changed files with 7 additions and 60 deletions

View file

@ -60,7 +60,7 @@ CardTable::CardTable(MemRegion whole_heap, bool conc_scan) :
assert(card_size <= 512, "card_size must be less than 512"); // why?
_covered = new MemRegion[_max_covered_regions];
_covered = new MemRegion[_max_covered_regions];
if (_covered == NULL) {
vm_exit_during_initialization("Could not allocate card table covered region set.");
}