< prev index next >

test/gc/shenandoah/compiler/TestExpandedWBLostNullCheckDep.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) 2016, Red Hat, Inc. All rights reserved.
+ * Copyright (c) 2016, 2018, Red Hat, Inc. 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.

@@ -20,14 +20,18 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
 /**
- * @test
+ * @test TestExpandedWBLostNullCheckDep
  * @summary Logic that moves a null check in the expanded barrier may cause a memory access that doesn't depend on the barrier to bypass the null check
+ * @key gc
  * @requires vm.flavor == "server"
- * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:-TieredCompilation -XX:+UseShenandoahGC -XX:+UnlockDiagnosticVMOptions -XX:+StressGCM -XX:+StressLCM TestExpandedWBLostNullCheckDep
+ *
+ * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:-TieredCompilation
+ *                   -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC
+ *                   -XX:+StressGCM -XX:+StressLCM TestExpandedWBLostNullCheckDep
  */
 
 public class TestExpandedWBLostNullCheckDep {
 
     static void test(int i, int[] arr) {
< prev index next >