equal
deleted
inserted
replaced
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @library /testlibrary /testlibrary/whitebox /compiler/whitebox |
26 * @library /testlibrary /testlibrary/whitebox /compiler/whitebox |
|
27 * /compiler/testlibrary |
27 * @build DecrementExactIntTest |
28 * @build DecrementExactIntTest |
28 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
29 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
29 * sun.hotspot.WhiteBox$WhiteBoxPermission |
30 * sun.hotspot.WhiteBox$WhiteBoxPermission |
30 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions |
31 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions |
31 * -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation |
32 * -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation |
33 * -XX:LogFile=hs_neg.log -XX:-UseMathExactIntrinsics DecrementExactIntTest |
34 * -XX:LogFile=hs_neg.log -XX:-UseMathExactIntrinsics DecrementExactIntTest |
34 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions |
35 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions |
35 * -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation |
36 * -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation |
36 * -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod |
37 * -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod |
37 * -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics DecrementExactIntTest |
38 * -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics DecrementExactIntTest |
38 * @run main Verifier hs_neg.log hs.log |
39 * @run main intrinsics.Verifier hs_neg.log hs.log |
39 */ |
40 */ |
40 |
41 |
41 public class DecrementExactIntTest { |
42 public class DecrementExactIntTest { |
42 |
43 |
43 public static void main(String[] args) throws Exception { |
44 public static void main(String[] args) throws Exception { |