test/hotspot/jtreg/compiler/aot/calls/fromAot/AotInvokeDynamic2InterpretedTest.java
changeset 57681 41f2f2829a09
parent 48796 5264a11d3753
child 58937 ba99c5a4491d
equal deleted inserted replaced
57680:cafd691c6c04 57681:41f2f2829a09
     1 /*
     1 /*
     2  * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    35  *      sun.hotspot.WhiteBox$WhiteBoxPermission
    35  *      sun.hotspot.WhiteBox$WhiteBoxPermission
    36  * @run driver compiler.aot.AotCompiler
    36  * @run driver compiler.aot.AotCompiler
    37  *      -libname AotInvokeDynamic2InterpretedTest.so
    37  *      -libname AotInvokeDynamic2InterpretedTest.so
    38  *      -class compiler.calls.common.InvokeDynamic
    38  *      -class compiler.calls.common.InvokeDynamic
    39  *      -compile compiler.calls.common.InvokeDynamic.caller()V
    39  *      -compile compiler.calls.common.InvokeDynamic.caller()V
    40  * @run main/othervm -XX:AOTLibrary=./AotInvokeDynamic2InterpretedTest.so
    40  * @run main/othervm -XX:+UnlockExperimentalVMOptions
       
    41  *      -XX:AOTLibrary=./AotInvokeDynamic2InterpretedTest.so
    41  *      -XX:CompileCommand=exclude,compiler.calls.common.InvokeDynamic::callee
    42  *      -XX:CompileCommand=exclude,compiler.calls.common.InvokeDynamic::callee
    42  *      -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.
    43  *      -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.
    43  *      -XX:+UseAOT compiler.calls.common.InvokeDynamic -checkCallerCompileLevel -1
    44  *      -XX:+UseAOT compiler.calls.common.InvokeDynamic -checkCallerCompileLevel -1
    44  * @summary check calls from aot to interpreted code using invokedynamic
    45  * @summary check calls from aot to interpreted code using invokedynamic
    45  */
    46  */