Skip to content
Permalink
Browse files
8276796: gc/TestSystemGC.java large pages subtest fails with ZGC
Reviewed-by: pliden, stefank
  • Loading branch information
shipilev committed Nov 11, 2021
1 parent 08e0fd6 commit 91bb0d658bce010e74b248b56f0fa5b8a79e8802
Showing 1 changed file with 15 additions and 8 deletions.
@@ -24,39 +24,46 @@
package gc;

/*
* @test TestSystemGCSerial
* @test id=Serial
* @requires vm.gc.Serial
* @summary Runs System.gc() with different flags.
* @run main/othervm -XX:+UseSerialGC gc.TestSystemGC
* @run main/othervm -XX:+UseSerialGC -XX:+UseLargePages gc.TestSystemGC
*/

/*
* @test TestSystemGCParallel
* @test id=Parallel
* @requires vm.gc.Parallel
* @summary Runs System.gc() with different flags.
* @run main/othervm -XX:+UseParallelGC gc.TestSystemGC
* @run main/othervm -XX:+UseParallelGC -XX:+UseLargePages gc.TestSystemGC
*/

/*
* @test TestSystemGCG1
* @test id=G1
* @requires vm.gc.G1
* @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:+UseG1GC -XX:+UseLargePages gc.TestSystemGC
*/

/*
* @test TestSystemGCShenandoah
* @test id=Shenandoah
* @requires vm.gc.Shenandoah
* @summary Runs System.gc() with different flags.
* @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC gc.TestSystemGC
* @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:+ExplicitGCInvokesConcurrent gc.TestSystemGC
* @run main/othervm -XX:+UseShenandoahGC gc.TestSystemGC
* @run main/othervm -XX:+UseShenandoahGC -XX:+ExplicitGCInvokesConcurrent gc.TestSystemGC
* @run main/othervm -XX:+UseShenandoahGC -XX:+UseLargePages gc.TestSystemGC
*/

/*
* @test TestSystemGCLargePages
* @test id=Z
* @requires vm.gc.Z
* @comment ZGC will not start when LargePages cannot be allocated, therefore
* we do not run such configuration.
* @summary Runs System.gc() with different flags.
* @run main/othervm -XX:+UseLargePages gc.TestSystemGC
* @run main/othervm -XX:+UseZGC gc.TestSystemGC
*/

public class TestSystemGC {

1 comment on commit 91bb0d6

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 91bb0d6 Nov 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.