8129977: TestSummarizeRSetStats.java fails: Incorrect amount of per-period RSet summaries at the end

Due to unrestrained initial heap size more garbage collections than expected could be started, confusing the test. Fix the initial heap size for the test to make them pass.

Reviewed-by: tbenson, dfazunen, dcubed
This commit is contained in:
Thomas Schatzl 2015-07-03 09:49:41 +02:00
parent b959e09360
commit 0d758e4c43
3 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,7 @@
/*
* @test TestSummarizeRSetStats.java
* @bug 8013895
* @bug 8013895 8129977
* @library /testlibrary
* @modules java.base/sun.misc
* java.management/sun.management

View File

@ -23,7 +23,7 @@
/*
* @test TestSummarizeRSetStatsPerRegion.java
* @bug 8014078
* @bug 8014078 8129977
* @library /testlibrary
* @modules java.base/sun.misc
* java.management/sun.management

View File

@ -87,6 +87,7 @@ public class TestSummarizeRSetStatsTools {
String[] defaultArgs = new String[] {
"-XX:+UseG1GC",
"-Xmn4m",
"-Xms20m",
"-Xmx20m",
"-XX:InitiatingHeapOccupancyPercent=100", // we don't want the additional GCs due to initial marking
"-XX:+PrintGC",