< prev index next >

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

Print this page
@@ -1,7 +1,8 @@
  /*
   * Copyright (c) 2020, 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.

@@ -96,10 +97,30 @@
   *      -XX:+ShenandoahVerify
   *      -XX:-ResizeTLAB
   *      TestResizeTLAB
   */
  
+ /*
+  * @test id=generational
+  * @key randomness
+  * @summary Test that Shenandoah is able to work with(out) resizeable TLABs
+  * @requires vm.gc.Shenandoah
+  * @library /test/lib
+  *
+  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
+  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
+  *      -XX:+ShenandoahVerify
+  *      -XX:+ResizeTLAB
+  *      TestResizeTLAB
+  *
+  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
+  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
+  *      -XX:+ShenandoahVerify
+  *      -XX:-ResizeTLAB
+  *      TestResizeTLAB
+  */
+ 
  /*
   * @test id=static
   * @key randomness
   * @summary Test that Shenandoah is able to work with(out) resizeable TLABs
   * @requires vm.gc.Shenandoah
< prev index next >