mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-15 08:03:50 +00:00
8184045: TestSystemGCWithG1.java times out on Solaris SPARC
Avoid extra round of stressing Reviewed-by: dcubed, ehelin
This commit is contained in:
parent
a1f70549e4
commit
270ecb9bbc
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user