8269077: TestSystemGC uses "require vm.gc.G1" for large pages subtest

Reviewed-by: tschatzl, kbarrett
This commit is contained in:
Stefan Karlsson 2021-06-22 07:44:25 +00:00
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();