hotspot/test/compiler/calls/fromCompiled/CompiledInvokeStatic2InterpretedTest.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 InvokeStatic
    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.InvokeStatic
    30  * @build compiler.calls.common.InvokeStatic
    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.InvokeStatic::callee compiler.calls.common.InvokeStatic
    34  *    -Xbatch -XX:CompileCommand=exclude,compiler.calls.common.InvokeStatic::callee compiler.calls.common.InvokeStatic
    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.InvokeStatic::callee compiler.calls.common.InvokeStatic
    37  *    -Xbatch -XX:CompileCommand=exclude,compiler.calls.common.InvokeStatic::callee compiler.calls.common.InvokeStatic
    36  *    -compileCaller 4 -checkCallerCompileLevel 4 -checkCalleeCompileLevel 0
    38  *    -compileCaller 4 -checkCallerCompileLevel 4 -checkCalleeCompileLevel 0
    37  * @summary check calls from compiled to interpreted using InvokeStatic
       
    38  */
    39  */