# HG changeset patch # User tschatzl # Date 1435909781 -7200 # Node ID 892d04ec5304dcae76dfc94e6ef6f4572d418349 # Parent 61d58c8bd374bbb2bdbe0f826f18ef8b1f7f679d 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 diff -r 61d58c8bd374 -r 892d04ec5304 hotspot/test/gc/g1/TestSummarizeRSetStats.java --- 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 diff -r 61d58c8bd374 -r 892d04ec5304 hotspot/test/gc/g1/TestSummarizeRSetStatsPerRegion.java --- 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 diff -r 61d58c8bd374 -r 892d04ec5304 hotspot/test/gc/g1/TestSummarizeRSetStatsTools.java --- 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",