RFR: 8152239: hotspot/test/gc/TestSmallHeap.java failed in jdk9

Stefan Johansson stefan.johansson at oracle.com
Wed Jun 1 07:06:48 UTC 2016


Hi,

Please review this test fix for:
https://bugs.openjdk.java.net/browse/JDK-8152239

Webrev:
http://cr.openjdk.java.net/~sjohanss/8152239/hotspot.00/

Summary:
The test has been excluded since it fails with an OOME. With Jigsaw and 
indify string concatenation turned on, the test ended up allocating to 
much and hit the OOME. I've re-written the test to do as little as 
possible in the VM with the small heap, instead the driver VM verifies 
that the sizes are correct. As before, the test verifies that the 
MaxHeapSize flag is set as expected, but I also added a check on the 
actual heap size to make sure it is below this limit.

Testing:
* RBT with the new version of the test.

Thanks,
Stefan



More information about the hotspot-gc-dev mailing list