8055525: Bigapp weblogic+medrec fails to startup after JDK-8038423
If large pages are enabled and configured in Linux, the VM always pre-commits the entire space. The VM fails verification of the commit of the initial heap because some internal data structure marked all memory pages of the heap as committed during initialization. This makes the code think that we attempted a double-commit during first allocation of the heap. Remove the initial marking of memory pages of the heap to committed. Reviewed-by: mgerdin
This commit is contained in:
parent
e0d403f3b5
commit
7fe4686591
@ -67,10 +67,6 @@ bool G1PageBasedVirtualSpace::initialize_with_granularity(ReservedSpace rs, size
|
|||||||
uintx size_in_bits = rs.size() / page_size;
|
uintx size_in_bits = rs.size() / page_size;
|
||||||
_committed.resize(size_in_bits, /* in_resource_area */ false);
|
_committed.resize(size_in_bits, /* in_resource_area */ false);
|
||||||
|
|
||||||
if (_special) {
|
|
||||||
_committed.set_range(0, size_in_bits);
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user