Skip to content
Permalink
Browse files
Automatic merge of jdk:master into master
  • Loading branch information
duke committed Jun 22, 2021
2 parents b7d1156 + 1a81815 commit 7f3e6015bd238c42a808f916d48648382ca99505
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 7f3e601

Please sign in to comment.