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

Michail Chernov michail.chernov at oracle.com
Wed Jun 1 14:03:37 UTC 2016

Hi Stefan,

Looks good to me. Could you please update the copyrights before pushing 
(no additional review is needed).


On 06/01/2016 10:06 AM, Stefan Johansson wrote:
> 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