21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
|
26 * @summary check calls from interpreted to compiled using InvokeInterface |
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.InvokeInterface |
30 * @build compiler.calls.common.InvokeInterface |
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 * -XX:CompileCommand=exclude,compiler.calls.common.InvokeInterface::caller -Xbatch compiler.calls.common.InvokeInterface |
34 * -XX:CompileCommand=exclude,compiler.calls.common.InvokeInterface::caller -Xbatch compiler.calls.common.InvokeInterface |
33 * -checkCallerCompileLevel 0 -compileCallee 1 -checkCalleeCompileLevel 1 |
35 * -checkCallerCompileLevel 0 -compileCallee 1 -checkCalleeCompileLevel 1 |
34 * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
36 * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
35 * -XX:CompileCommand=exclude,compiler.calls.common.InvokeInterface::caller -Xbatch compiler.calls.common.InvokeInterface |
37 * -XX:CompileCommand=exclude,compiler.calls.common.InvokeInterface::caller -Xbatch compiler.calls.common.InvokeInterface |
36 * -checkCallerCompileLevel 0 -compileCallee 4 -checkCalleeCompileLevel 4 |
38 * -checkCallerCompileLevel 0 -compileCallee 4 -checkCalleeCompileLevel 4 |
37 * @summary check calls from interpreted to compiled using InvokeInterface |
|
38 */ |
39 */ |