equal
deleted
inserted
replaced
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8063086 |
26 * @bug 8063086 |
27 * @summary X^2 special case for C2 yields different result than interpreter |
27 * @summary X^2 special case for C2 yields different result than interpreter |
28 * @library /testlibrary /test/lib /compiler/whitebox |
28 * @library /testlibrary /test/lib /compiler/whitebox / |
29 * @modules java.management |
29 * @modules java.management |
30 * @build TestPow2 |
30 * @build TestPow2 |
31 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
31 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
32 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
32 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
33 * -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestPow2 |
33 * -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestPow2 |
34 * |
34 * |
35 */ |
35 */ |
36 |
36 |
37 import java.lang.reflect.*; |
37 import java.lang.reflect.*; |
38 import sun.hotspot.WhiteBox; |
38 import sun.hotspot.WhiteBox; |
|
39 import compiler.whitebox.CompilerWhiteBoxTest; |
39 |
40 |
40 public class TestPow2 { |
41 public class TestPow2 { |
41 |
42 |
42 private static final WhiteBox WHITE_BOX = WhiteBox.getWhiteBox(); |
43 private static final WhiteBox WHITE_BOX = WhiteBox.getWhiteBox(); |
43 |
44 |