RFR: 8224764 - Create jtreg test for JDK-8222252

Bob Vandette bob.vandette at oracle.com
Tue Jun 18 12:28:15 UTC 2019


Please review this new test that verifies the updated behavior for -XX:MaxRAMPercentage and -XX:MaxRAM
as documented in these two bugs:

https://bugs.openjdk.java.net/browse/JDK-8213175 - Java ergonomics limits heap to 32GB to allow compressed oops
https://bugs.openjdk.java.net/browse/JDK-8222252 - Java ergonomics limits heap to 128GB with disabled compressed oops

BUG:
https://bugs.openjdk.java.net/browse/JDK-8224764

WEBREV:
http://cr.openjdk.java.net/~bobv/8224764/webrev.00

The test attempts to set MaxRAM 1G below and above the Maximum Heap size
allowed by CompressedOops and verifies that compressed oops is disabled when
the requested heap size is above the limit.  It also verifies that if UseCompressedOops
is specified, it will limit the heap size.

Bob.







More information about the hotspot-gc-dev mailing list