8269077: TestSystemGC uses "require vm.gc.G1" for large pages subtest
Reviewed-by: tschatzl, kbarrett
This commit is contained in:
parent
0458113c6b
commit
1a818154cf
@ -43,8 +43,7 @@ package gc;
|
||||
* @summary Runs System.gc() with different flags.
|
||||
* @run main/othervm -XX:+UseG1GC gc.TestSystemGC
|
||||
* @run main/othervm -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent gc.TestSystemGC
|
||||
* @run main/othervm -XX:+UseLargePages gc.TestSystemGC
|
||||
*/
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test TestSystemGCShenandoah
|
||||
@ -53,6 +52,13 @@ package gc;
|
||||
* @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC gc.TestSystemGC
|
||||
* @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:+ExplicitGCInvokesConcurrent gc.TestSystemGC
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test TestSystemGCLargePages
|
||||
* @summary Runs System.gc() with different flags.
|
||||
* @run main/othervm -XX:+UseLargePages gc.TestSystemGC
|
||||
*/
|
||||
|
||||
public class TestSystemGC {
|
||||
public static void main(String args[]) throws Exception {
|
||||
System.gc();
|
||||
|
Loading…
x
Reference in New Issue
Block a user