< prev index next >

test/hotspot/jtreg/gc/shenandoah/TestJcmdHeapDump.java

Print this page
@@ -1,7 +1,8 @@
  /*
   * Copyright (c) 2021, Red Hat, Inc. All rights reserved.
+  * Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -70,10 +71,22 @@
   *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
   *      -Dtarget=10000
   *      TestJcmdHeapDump
   */
  
+ /*
+  * @test id=generational
+  * @library /test/lib
+  * @modules jdk.attach/com.sun.tools.attach
+  * @requires vm.gc.Shenandoah
+  *
+  * @run main/othervm/timeout=480 -Xmx16m -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
+  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
+  *      -Dtarget=10000
+  *      TestJcmdHeapDump
+  */
+ 
  /*
   * @test id=static
   * @library /test/lib
   * @modules jdk.attach/com.sun.tools.attach
   * @requires vm.gc.Shenandoah
< prev index next >