8129977: TestSummarizeRSetStats.java fails: Incorrect amount of per-period RSet summaries at the end
Summary: 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
--- a/hotspot/test/gc/g1/TestSummarizeRSetStats.java Thu Jul 02 20:30:33 2015 -0700
+++ b/hotspot/test/gc/g1/TestSummarizeRSetStats.java Fri Jul 03 09:49:41 2015 +0200
@@ -23,7 +23,7 @@
/*
* @test TestSummarizeRSetStats.java
- * @bug 8013895
+ * @bug 8013895 8129977
* @library /testlibrary
* @modules java.base/sun.misc
* java.management/sun.management
--- a/hotspot/test/gc/g1/TestSummarizeRSetStatsPerRegion.java Thu Jul 02 20:30:33 2015 -0700
+++ b/hotspot/test/gc/g1/TestSummarizeRSetStatsPerRegion.java Fri Jul 03 09:49:41 2015 +0200
@@ -23,7 +23,7 @@
/*
* @test TestSummarizeRSetStatsPerRegion.java
- * @bug 8014078
+ * @bug 8014078 8129977
* @library /testlibrary
* @modules java.base/sun.misc
* java.management/sun.management
--- a/hotspot/test/gc/g1/TestSummarizeRSetStatsTools.java Thu Jul 02 20:30:33 2015 -0700
+++ b/hotspot/test/gc/g1/TestSummarizeRSetStatsTools.java Fri Jul 03 09:49:41 2015 +0200
@@ -87,6 +87,7 @@
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",