RFR: 8234619: ZGC: gc/z/TestSmallHeap.java failure with Out Of Memory

erik.osterlund at oracle.com erik.osterlund at oracle.com
Tue Nov 26 10:57:56 UTC 2019

Hi Per,

Looks great.


On 11/25/19 12:21 PM, Per Liden wrote:
> The test gc/z/TestSmallHeap.java sometimes fails when run with and 
> -Xcomp. As it turns out, about 120K worth of additional intern Strings 
> are created when running with -Xcomp. On an 8M heap, means there's not 
> enough room left for the 512K array allocation this test does. This 
> patch simply disables this test when using -Xcomp.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8234619
> Webrev: http://cr.openjdk.java.net/~pliden/8234619/webrev.0
> Testing: Manual runs with gc/z/TestSmallHeap.java
> /Per

More information about the hotspot-gc-dev mailing list