< prev index next >
test/compiler/loopopts/TestDeadBackbranchArrayAccess.java
Print this page
*** 24,37 ****
/**
* @test
* @bug 8054478
* @summary dead backbranch in main loop results in erroneous array access
- * @run main/othervm -XX:CompileOnly=TestDeadBackbranchArrayAccess -Xcomp TestDeadBackbranchArrayAccess
*
*/
public class TestDeadBackbranchArrayAccess {
static char[] pattern0 = {0};
static char[] pattern1 = {1};
static void test(char[] array) {
--- 24,41 ----
/**
* @test
* @bug 8054478
* @summary dead backbranch in main loop results in erroneous array access
*
+ * @run main/othervm -Xcomp
+ * -XX:CompileCommand=compileonly,compiler.loopopts.TestDeadBackbranchArrayAccess::*
+ * compiler.loopopts.TestDeadBackbranchArrayAccess
*/
+ package compiler.loopopts;
+
public class TestDeadBackbranchArrayAccess {
static char[] pattern0 = {0};
static char[] pattern1 = {1};
static void test(char[] array) {
< prev index next >