aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/gc_implementation
diff options
context:
space:
mode:
authortschatzl <none@none>2014-08-20 14:34:40 +0200
committertschatzl <none@none>2014-08-20 14:34:40 +0200
commit431826afcd27ecd3e02a613f8ec40424f7d0837b (patch)
treeb98d243841fc9bacfcd73ac12741ff2c1a03e3b0 /src/share/vm/gc_implementation
parent96cfb33377affbdf2985828b98beb7a80ebb9cfa (diff)
downloadjdk8u_hotspot-431826afcd27ecd3e02a613f8ec40424f7d0837b.tar.gz
8055525: Bigapp weblogic+medrec fails to startup after JDK-8038423
Summary: 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
Diffstat (limited to 'src/share/vm/gc_implementation')
-rw-r--r--src/share/vm/gc_implementation/g1/g1PageBasedVirtualSpace.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/share/vm/gc_implementation/g1/g1PageBasedVirtualSpace.cpp b/src/share/vm/gc_implementation/g1/g1PageBasedVirtualSpace.cpp
index 6928d5333..1b294edff 100644
--- a/src/share/vm/gc_implementation/g1/g1PageBasedVirtualSpace.cpp
+++ b/src/share/vm/gc_implementation/g1/g1PageBasedVirtualSpace.cpp
@@ -67,10 +67,6 @@ bool G1PageBasedVirtualSpace::initialize_with_granularity(ReservedSpace rs, size
uintx size_in_bits = rs.size() / page_size;
_committed.resize(size_in_bits, /* in_resource_area */ false);
- if (_special) {
- _committed.set_range(0, size_in_bits);
- }
-
return true;
}