24 /*
25 * @test
26 * @bug 8138708
27 * @requires vm.jvmci
28 * @library /test/lib /
29 * @library ../common/patches
30 * @modules java.base/jdk.internal.misc
31 * java.base/jdk.internal.reflect
32 * java.base/jdk.internal.org.objectweb.asm
33 * java.base/jdk.internal.org.objectweb.asm.tree
34 * jdk.internal.vm.ci/jdk.vm.ci.hotspot
35 * jdk.internal.vm.ci/jdk.vm.ci.runtime
36 * jdk.internal.vm.ci/jdk.vm.ci.meta
37 *
38 * @build jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
39 * @build sun.hotspot.WhiteBox
40 * @run driver ClassFileInstaller sun.hotspot.WhiteBox
41 * sun.hotspot.WhiteBox$WhiteBoxPermission
42 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
43 * -XX:+WhiteBoxAPI -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
44 * compiler.jvmci.compilerToVM.LookupSignatureInPoolTest
45 */
46
47 package compiler.jvmci.compilerToVM;
48
49 import compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes;
50 import compiler.jvmci.compilerToVM.ConstantPoolTestCase.TestedCPEntry;
51 import compiler.jvmci.compilerToVM.ConstantPoolTestCase.Validator;
52 import compiler.jvmci.compilerToVM.ConstantPoolTestsHelper.DummyClasses;
53 import jdk.test.lib.Asserts;
54 import jdk.vm.ci.hotspot.CompilerToVMHelper;
55 import jdk.vm.ci.meta.ConstantPool;
56
57 import java.util.HashMap;
58 import java.util.Map;
59
60 import static compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes.CONSTANT_FIELDREF;
61 import static compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes.CONSTANT_INTERFACEMETHODREF;
62 import static compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes.CONSTANT_INVOKEDYNAMIC;
63 import static compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes.CONSTANT_METHODREF;
|
24 /*
25 * @test
26 * @bug 8138708
27 * @requires vm.jvmci
28 * @library /test/lib /
29 * @library ../common/patches
30 * @modules java.base/jdk.internal.misc
31 * java.base/jdk.internal.reflect
32 * java.base/jdk.internal.org.objectweb.asm
33 * java.base/jdk.internal.org.objectweb.asm.tree
34 * jdk.internal.vm.ci/jdk.vm.ci.hotspot
35 * jdk.internal.vm.ci/jdk.vm.ci.runtime
36 * jdk.internal.vm.ci/jdk.vm.ci.meta
37 *
38 * @build jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
39 * @build sun.hotspot.WhiteBox
40 * @run driver ClassFileInstaller sun.hotspot.WhiteBox
41 * sun.hotspot.WhiteBox$WhiteBoxPermission
42 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
43 * -XX:+WhiteBoxAPI -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
44 * -Djvmci.Compiler=null
45 * compiler.jvmci.compilerToVM.LookupSignatureInPoolTest
46 */
47
48 package compiler.jvmci.compilerToVM;
49
50 import compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes;
51 import compiler.jvmci.compilerToVM.ConstantPoolTestCase.TestedCPEntry;
52 import compiler.jvmci.compilerToVM.ConstantPoolTestCase.Validator;
53 import compiler.jvmci.compilerToVM.ConstantPoolTestsHelper.DummyClasses;
54 import jdk.test.lib.Asserts;
55 import jdk.vm.ci.hotspot.CompilerToVMHelper;
56 import jdk.vm.ci.meta.ConstantPool;
57
58 import java.util.HashMap;
59 import java.util.Map;
60
61 import static compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes.CONSTANT_FIELDREF;
62 import static compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes.CONSTANT_INTERFACEMETHODREF;
63 import static compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes.CONSTANT_INVOKEDYNAMIC;
64 import static compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes.CONSTANT_METHODREF;
|