21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
|
26 * @summary check calls from compiled to interpreted using InvokeSpecial |
26 * @modules java.base/jdk.internal.misc |
27 * @modules java.base/jdk.internal.misc |
27 * @library /test/lib /testlibrary / |
28 * @library /test/lib /testlibrary / |
|
29 * |
28 * @build compiler.calls.common.InvokeSpecial |
30 * @build compiler.calls.common.InvokeSpecial |
29 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
31 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
30 * sun.hotspot.WhiteBox$WhiteBoxPermission |
32 * sun.hotspot.WhiteBox$WhiteBoxPermission |
31 * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
33 * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
32 * -Xbatch -XX:CompileCommand=exclude,compiler.calls.common.InvokeSpecial::callee compiler.calls.common.InvokeSpecial |
34 * -Xbatch -XX:CompileCommand=exclude,compiler.calls.common.InvokeSpecial::callee compiler.calls.common.InvokeSpecial |
33 * -compileCaller 1 -checkCallerCompileLevel 1 -checkCalleeCompileLevel 0 |
35 * -compileCaller 1 -checkCallerCompileLevel 1 -checkCalleeCompileLevel 0 |
34 * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
36 * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
35 * -Xbatch -XX:CompileCommand=exclude,compiler.calls.common.InvokeSpecial::callee compiler.calls.common.InvokeSpecial |
37 * -Xbatch -XX:CompileCommand=exclude,compiler.calls.common.InvokeSpecial::callee compiler.calls.common.InvokeSpecial |
36 * -compileCaller 4 -checkCallerCompileLevel 4 -checkCalleeCompileLevel 0 |
38 * -compileCaller 4 -checkCallerCompileLevel 4 -checkCalleeCompileLevel 0 |
37 * @summary check calls from compiled to interpreted using InvokeSpecial |
|
38 */ |
39 */ |