2
3 import jdk.test.lib.Asserts;
4 import jdk.test.lib.util.Pair;
5 import jdk.test.lib.Utils;
6 import jdk.vm.ci.code.InstalledCode;
7 import jdk.vm.ci.code.InvalidInstalledCodeException;
8 import jdk.vm.ci.hotspot.CompilerToVMHelper;
9 import sun.hotspot.code.NMethod;
10
11 import java.lang.reflect.Constructor;
12 import java.lang.reflect.Modifier;
13 import java.util.ArrayList;
14 import java.util.List;
15
16 /*
17 * @test
18 * @bug 8136421
19 * @requires (vm.simpleArch == "x64" | vm.simpleArch == "sparcv9" | vm.simpleArch == "aarch64")
20 * @library /test/lib /
21 * @library ../common/patches
22 * @ignore 8139383
23 * @modules java.base/jdk.internal.misc
24 * @modules java.base/jdk.internal.org.objectweb.asm
25 * java.base/jdk.internal.org.objectweb.asm.tree
26 * jdk.vm.ci/jdk.vm.ci.hotspot
27 * jdk.vm.ci/jdk.vm.ci.code
28 * @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper sun.hotspot.WhiteBox
29 * @run driver ClassFileInstaller sun.hotspot.WhiteBox
30 * sun.hotspot.WhiteBox$WhiteBoxPermission
31 * @run main/othervm -Xbootclasspath/a:.
32 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
33 * -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
34 * compiler.jvmci.compilerToVM.ExecuteInstalledCodeTest
35 */
36
37 public class ExecuteInstalledCodeTest {
38
39 public static void main(String[] args) {
40 ExecuteInstalledCodeTest test = new ExecuteInstalledCodeTest();
41 List<CompileCodeTestCase> testCases = new ArrayList<>();
42 testCases.addAll(CompileCodeTestCase.generate(/* bci = */ -1));
|
2
3 import jdk.test.lib.Asserts;
4 import jdk.test.lib.util.Pair;
5 import jdk.test.lib.Utils;
6 import jdk.vm.ci.code.InstalledCode;
7 import jdk.vm.ci.code.InvalidInstalledCodeException;
8 import jdk.vm.ci.hotspot.CompilerToVMHelper;
9 import sun.hotspot.code.NMethod;
10
11 import java.lang.reflect.Constructor;
12 import java.lang.reflect.Modifier;
13 import java.util.ArrayList;
14 import java.util.List;
15
16 /*
17 * @test
18 * @bug 8136421
19 * @requires (vm.simpleArch == "x64" | vm.simpleArch == "sparcv9" | vm.simpleArch == "aarch64")
20 * @library /test/lib /
21 * @library ../common/patches
22 * @modules java.base/jdk.internal.misc
23 * @modules java.base/jdk.internal.org.objectweb.asm
24 * java.base/jdk.internal.org.objectweb.asm.tree
25 * jdk.vm.ci/jdk.vm.ci.hotspot
26 * jdk.vm.ci/jdk.vm.ci.code
27 * @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper sun.hotspot.WhiteBox
28 * @run driver ClassFileInstaller sun.hotspot.WhiteBox
29 * sun.hotspot.WhiteBox$WhiteBoxPermission
30 * @run main/othervm -Xbootclasspath/a:.
31 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
32 * -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
33 * compiler.jvmci.compilerToVM.ExecuteInstalledCodeTest
34 */
35
36 public class ExecuteInstalledCodeTest {
37
38 public static void main(String[] args) {
39 ExecuteInstalledCodeTest test = new ExecuteInstalledCodeTest();
40 List<CompileCodeTestCase> testCases = new ArrayList<>();
41 testCases.addAll(CompileCodeTestCase.generate(/* bci = */ -1));
|