mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8238854: Remove superfluous C heap allocation failure checks
Reviewed-by: kbarrett, sjohanss
This commit is contained in:
parent
00484e9446
commit
78f58c3e39
14 changed files with 7 additions and 60 deletions
|
@ -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.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue