< prev index next >

test/gc/shenandoah/options/TestCodeCacheRootStyles.java

Print this page
rev 10697 : [backport] Prepare tests for making UseShenandoahGC experimental
rev 10772 : [backport] Update copyrights
rev 10782 : [backport] Shenandoah should @require Shenandoah, @key gc, and have good @test

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2017 Red Hat, Inc. and/or its affiliates.
+ * Copyright (c) 2017, 2018, Red Hat, Inc. All rights reserved.
  *
  * 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.
  *

@@ -19,14 +19,16 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  *
  */
 
-/* @test
- * @run main/othervm -XX:+UseShenandoahGC -XX:+UnlockExperimentalVMOptions -XX:ShenandoahCodeRootsStyle=0 TestCodeCacheRootStyles
- * @run main/othervm -XX:+UseShenandoahGC -XX:+UnlockExperimentalVMOptions -XX:ShenandoahCodeRootsStyle=1 TestCodeCacheRootStyles
- * @run main/othervm -XX:+UseShenandoahGC -XX:+UnlockExperimentalVMOptions -XX:ShenandoahCodeRootsStyle=2 TestCodeCacheRootStyles
+/* @test TestCodeCacheRootStyles
+ * @key gc
+ *
+ * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahCodeRootsStyle=0 TestCodeCacheRootStyles
+ * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahCodeRootsStyle=1 TestCodeCacheRootStyles
+ * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahCodeRootsStyle=2 TestCodeCacheRootStyles
  */
 
 public class TestCodeCacheRootStyles {
     public static void main(String[] args) {
         // Bug should crash before we get here.
< prev index next >