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:
parent
b959e09360
commit
0d758e4c43
@ -23,7 +23,7 @@
|
||||
|
||||
/*
|
||||
* @test TestSummarizeRSetStats.java
|
||||
* @bug 8013895
|
||||
* @bug 8013895 8129977
|
||||
* @library /testlibrary
|
||||
* @modules java.base/sun.misc
|
||||
* java.management/sun.management
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
/*
|
||||
* @test TestSummarizeRSetStatsPerRegion.java
|
||||
* @bug 8014078
|
||||
* @bug 8014078 8129977
|
||||
* @library /testlibrary
|
||||
* @modules java.base/sun.misc
|
||||
* java.management/sun.management
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user