19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
|
24 /* |
|
25 * @test |
|
26 * @bug 8136421 |
|
27 * @requires vm.jvmci |
|
28 * @library /test/lib / |
|
29 * @library ../common/patches |
|
30 * @modules java.base/jdk.internal.misc |
|
31 * @modules java.base/jdk.internal.org.objectweb.asm |
|
32 * java.base/jdk.internal.org.objectweb.asm.tree |
|
33 * jdk.internal.vm.ci/jdk.vm.ci.hotspot |
|
34 * jdk.internal.vm.ci/jdk.vm.ci.code |
|
35 * @build jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper sun.hotspot.WhiteBox |
|
36 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
|
37 * sun.hotspot.WhiteBox$WhiteBoxPermission |
|
38 * @run main/othervm -Xbootclasspath/a:. |
|
39 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
|
40 * -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI |
|
41 * compiler.jvmci.compilerToVM.ExecuteInstalledCodeTest |
|
42 */ |
|
43 |
24 package compiler.jvmci.compilerToVM; |
44 package compiler.jvmci.compilerToVM; |
25 |
45 |
26 import jdk.test.lib.Asserts; |
46 import jdk.test.lib.Asserts; |
27 import jdk.test.lib.util.Pair; |
47 import jdk.test.lib.util.Pair; |
28 import jdk.test.lib.Utils; |
48 import jdk.test.lib.Utils; |
33 |
53 |
34 import java.lang.reflect.Constructor; |
54 import java.lang.reflect.Constructor; |
35 import java.lang.reflect.Modifier; |
55 import java.lang.reflect.Modifier; |
36 import java.util.ArrayList; |
56 import java.util.ArrayList; |
37 import java.util.List; |
57 import java.util.List; |
38 |
|
39 /* |
|
40 * @test |
|
41 * @bug 8136421 |
|
42 * @requires vm.jvmci |
|
43 * @library /test/lib / |
|
44 * @library ../common/patches |
|
45 * @modules java.base/jdk.internal.misc |
|
46 * @modules java.base/jdk.internal.org.objectweb.asm |
|
47 * java.base/jdk.internal.org.objectweb.asm.tree |
|
48 * jdk.vm.ci/jdk.vm.ci.hotspot |
|
49 * jdk.vm.ci/jdk.vm.ci.code |
|
50 * @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper sun.hotspot.WhiteBox |
|
51 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
|
52 * sun.hotspot.WhiteBox$WhiteBoxPermission |
|
53 * @run main/othervm -Xbootclasspath/a:. |
|
54 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
|
55 * -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI |
|
56 * compiler.jvmci.compilerToVM.ExecuteInstalledCodeTest |
|
57 */ |
|
58 |
58 |
59 public class ExecuteInstalledCodeTest { |
59 public class ExecuteInstalledCodeTest { |
60 |
60 |
61 public static void main(String[] args) { |
61 public static void main(String[] args) { |
62 ExecuteInstalledCodeTest test = new ExecuteInstalledCodeTest(); |
62 ExecuteInstalledCodeTest test = new ExecuteInstalledCodeTest(); |