< prev index next >

test/compiler/loopopts/TestMoveStoresOutOfLoops.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

*** 24,41 **** /** * @test * @bug 8080289 * @summary Move stores out of loops if possible - * @run main/othervm -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:CompileCommand=dontinline,TestMoveStoresOutOfLoops::test* TestMoveStoresOutOfLoops * */ ! import java.lang.reflect.*; ! import java.util.*; ! import java.util.function.*; public class TestMoveStoresOutOfLoops { private static long[] array = new long[10]; private static long[] array2 = new long[10]; private static boolean[] array3 = new boolean[1000]; --- 24,46 ---- /** * @test * @bug 8080289 * @summary Move stores out of loops if possible * + * @run main/othervm -XX:-UseOnStackReplacement -XX:-BackgroundCompilation + * -XX:CompileCommand=dontinline,compiler.loopopts.TestMoveStoresOutOfLoops::test* + * compiler.loopopts.TestMoveStoresOutOfLoops */ ! package compiler.loopopts; + import java.lang.reflect.Method; + import java.lang.reflect.Modifier; + import java.util.HashMap; + import java.util.function.Function; + public class TestMoveStoresOutOfLoops { private static long[] array = new long[10]; private static long[] array2 = new long[10]; private static boolean[] array3 = new boolean[1000];
< prev index next >