< prev index next >

test/compiler/rangechecks/TestExplicitRangeChecks.java

Print this page

        

*** 23,33 **** /* * @test * @bug 8073480 * @summary explicit range checks should be recognized by C2 ! * @library /testlibrary /../../test/lib /compiler/whitebox * @build TestExplicitRangeChecks * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller jdk.test.lib.Platform * @run main/othervm -ea -Xmixed -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI * -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:CompileCommand=compileonly,TestExplicitRangeChecks.test* TestExplicitRangeChecks --- 23,33 ---- /* * @test * @bug 8073480 * @summary explicit range checks should be recognized by C2 ! * @library /testlibrary /../../test/lib / * @build TestExplicitRangeChecks * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller jdk.test.lib.Platform * @run main/othervm -ea -Xmixed -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI * -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:CompileCommand=compileonly,TestExplicitRangeChecks.test* TestExplicitRangeChecks
*** 39,48 **** --- 39,49 ---- import java.util.*; import sun.hotspot.WhiteBox; import sun.hotspot.code.NMethod; import jdk.test.lib.Platform; import sun.misc.Unsafe; + import compiler.whitebox.CompilerWhiteBoxTest; public class TestExplicitRangeChecks { static int[] array = new int[10];
< prev index next >