8184045: TestSystemGCWithG1.java times out on Solaris SPARC

Avoid extra round of stressing

Reviewed-by: dcubed, ehelin
This commit is contained in:
Alexander Harlap 2017-07-25 10:15:29 -04:00
parent a1f70549e4
commit 270ecb9bbc

View File

@ -182,9 +182,11 @@ public class TestSystemGC {
}
public static void main(String[] args) {
// First allocate the long lived objects and then run all phases twice.
// First allocate the long lived objects and then run all phases.
populateLongLived();
runAllPhases();
runAllPhases();
if (args.length > 0 && args[0].equals("long")) {
runAllPhases();
}
}
}