26 * @test |
26 * @test |
27 * @bug 8136421 |
27 * @bug 8136421 |
28 * @requires (os.simpleArch == "x64" | os.simpleArch == "sparcv9" | os.simpleArch == "aarch64") |
28 * @requires (os.simpleArch == "x64" | os.simpleArch == "sparcv9" | os.simpleArch == "aarch64") |
29 * @summary Testing compiler.jvmci.CompilerToVM.lookupKlassInPool method |
29 * @summary Testing compiler.jvmci.CompilerToVM.lookupKlassInPool method |
30 * @library /testlibrary /test/lib / |
30 * @library /testlibrary /test/lib / |
31 * @compile ../common/CompilerToVMHelper.java |
31 * @library ../common/patches |
|
32 * @modules java.base/jdk.internal.misc |
|
33 * java.base/jdk.internal.org.objectweb.asm |
|
34 * java.base/jdk.internal.org.objectweb.asm.tree |
|
35 * jdk.vm.ci/jdk.vm.ci.hotspot |
|
36 * jdk.vm.ci/jdk.vm.ci.meta |
|
37 * @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper |
32 * @build sun.hotspot.WhiteBox |
38 * @build sun.hotspot.WhiteBox |
33 * compiler.jvmci.compilerToVM.LookupKlassInPoolTest |
39 * compiler.jvmci.compilerToVM.LookupKlassInPoolTest |
34 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
40 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
35 * sun.hotspot.WhiteBox$WhiteBoxPermission |
41 * sun.hotspot.WhiteBox$WhiteBoxPermission |
36 * jdk.vm.ci.hotspot.CompilerToVMHelper |
42 * @run main/othervm -Xbootclasspath/a:. |
37 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions |
43 * -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI |
38 * -XX:+WhiteBoxAPI -XX:+UnlockExperimentalVMOptions |
44 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
39 * -XX:+EnableJVMCI compiler.jvmci.compilerToVM.LookupKlassInPoolTest |
45 * compiler.jvmci.compilerToVM.LookupKlassInPoolTest |
40 */ |
46 */ |
41 |
47 |
42 package compiler.jvmci.compilerToVM; |
48 package compiler.jvmci.compilerToVM; |
43 |
49 |
44 import compiler.jvmci.compilerToVM.ConstantPoolTestsHelper.DummyClasses; |
50 import compiler.jvmci.compilerToVM.ConstantPoolTestsHelper.DummyClasses; |