RFR(s): 8067768: Check for too small values for -Xmx

Per Liden per.liden at oracle.com
Fri Mar 11 14:52:56 UTC 2016


Summary: The VM needs at least a 2M heap (MaxHeapSize) and at least 1M 
initial heap (InitialHeapSize), but we only check the InitialHeapSize 
limit during start up. This patch adds a check for MaxHeapSize and 
extends the jtreg heap size test to check these limits.

Bug: https://bugs.openjdk.java.net/browse/JDK-8067768
Webrev: http://cr.openjdk.java.net/~pliden/8067768/webrev.0/
Testing: manual, jtreg test/gc/*, jprt in progress


More information about the hotspot-gc-dev mailing list