RFR: 8076613: gc/TestSmallHeap.java failed with OOME

Kim Barrett kim.barrett at oracle.com
Mon Jun 1 20:01:57 UTC 2015


Please review this small test fix for a nightly test failure.

The test attempts to verify that Java can be started with the
documented minimum heap size of 2M. By default, such a small heap size
will enable the UseCompressedOops option. However, there are nightly
test configurations that forcibly disable compressed oops, and with
such a configuration this test for small heap usability sometimes
fails.

Since it seems unreasonable to require small heap usage to work with
the default compressed oop usage forcibly disabled, the fix for this
test failure is to disable the test in such a configuration.

CR:
https://bugs.openjdk.java.net/browse/JDK-8076613

Webrev:
http://cr.openjdk.java.net/~kbarrett/8076613/webrev.00/

Testing:
Local jtreg testing.



More information about the hotspot-gc-dev mailing list