RFR(XXS) : 8190679 : java/util/Arrays/TimSortStackSize2.java fails with "Initial heap size set to a larger value than the maximum heap size"

Igor Ignatyev igor.ignatyev at oracle.com
Tue Feb 27 01:25:26 UTC 2018


http://cr.openjdk.java.net/~iignatyev//8190679/webrev.00/index.html
> 9 lines changed: 2 ins; 0 del; 7 mod; 

Hi all,

could you please review the patch for TimSortStackSize2 test?

the test failed when externally passed (via -javaoption or -vmoption) -Xmx value is less than 770m or 385m, depending on UseCompressedOops. it happened because the test explicitly set Xms value, but didn't set Xmx.
now, the test sets Xmx as Xms times 2.

PS as it mostly affects hotspot testing, the patch will be pushed to jdk/hs.

webrev: http://cr.openjdk.java.net/~iignatyev//8190679/webrev.00/index.html
testing: java/util/Arrays/TimSortStackSize2.java  w/ and w/o externally provided Xmx value
JBS: https://bugs.openjdk.java.net/browse/JDK-8190679

Thanks,
-- Igor



More information about the core-libs-dev mailing list