Skip to content
Permalink
Browse files
8269077: TestSystemGC uses "require vm.gc.G1" for large pages subtest
Reviewed-by: tschatzl, kbarrett
  • Loading branch information
stefank committed Jun 22, 2021
1 parent 0458113 commit 1a818154cfe852a680070c5c07f2df33109e5b54
Showing 1 changed file with 8 additions and 2 deletions.
@@ -43,8 +43,7 @@
* @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 @@
* @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();

0 comments on commit 1a81815

Please sign in to comment.