hotspot/test/compiler/calls/fromCompiled/CompiledInvokeDynamic2InterpretedTest.java
changeset 40059 c2304140ed64
parent 38152 80e5da81fb2c
child 40631 ed82623d7831
equal deleted inserted replaced
40058:b4441f6cfe79 40059:c2304140ed64
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
       
    26  * @summary check calls from compiled to interpreted using InvokeDynamic
    26  * @library /test/lib /testlibrary /
    27  * @library /test/lib /testlibrary /
    27  * @modules java.base/jdk.internal.misc
    28  * @modules java.base/jdk.internal.misc
    28  * @modules java.base/jdk.internal.org.objectweb.asm
    29  *          java.base/jdk.internal.org.objectweb.asm
       
    30  *
    29  * @build compiler.calls.common.InvokeDynamic
    31  * @build compiler.calls.common.InvokeDynamic
    30  * @build compiler.calls.common.InvokeDynamicPatcher
    32  * @build compiler.calls.common.InvokeDynamicPatcher
    31  * @run main compiler.calls.common.InvokeDynamicPatcher
    33  * @run main compiler.calls.common.InvokeDynamicPatcher
    32  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
    34  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
    33  *    sun.hotspot.WhiteBox$WhiteBoxPermission
    35  *    sun.hotspot.WhiteBox$WhiteBoxPermission
    35  *    -Xbatch -XX:CompileCommand=exclude,compiler.calls.common.InvokeDynamic::callee compiler.calls.common.InvokeDynamic
    37  *    -Xbatch -XX:CompileCommand=exclude,compiler.calls.common.InvokeDynamic::callee compiler.calls.common.InvokeDynamic
    36  *    -compileCaller 1 -checkCallerCompileLevel 1 -checkCalleeCompileLevel 0
    38  *    -compileCaller 1 -checkCallerCompileLevel 1 -checkCalleeCompileLevel 0
    37  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.
    39  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.
    38  *    -Xbatch -XX:CompileCommand=exclude,compiler.calls.common.InvokeDynamic::callee compiler.calls.common.InvokeDynamic
    40  *    -Xbatch -XX:CompileCommand=exclude,compiler.calls.common.InvokeDynamic::callee compiler.calls.common.InvokeDynamic
    39  *    -compileCaller 4 -checkCallerCompileLevel 4 -checkCalleeCompileLevel 0
    41  *    -compileCaller 4 -checkCallerCompileLevel 4 -checkCalleeCompileLevel 0
    40  * @summary check calls from compiled to interpreted using InvokeDynamic
       
    41  */
    42  */