Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8276796: gc/TestSystemGC.java large pages subtest fails with ZGC #6310

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -24,39 +24,46 @@
package gc;

/*
* @test TestSystemGCSerial
* @test id=serial
shipilev marked this conversation as resolved.
Show resolved Hide resolved
* @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 would not start when LargePages cannot be allocated, therefore
shipilev marked this conversation as resolved.
Show resolved Hide resolved
* 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 {