hotspot/test/compiler/calls/fromCompiled/CompiledInvokeDynamic2InterpretedTest.java
changeset 36209 8db2a78cbc29
parent 35128 bb8baf284c67
child 38152 80e5da81fb2c
equal deleted inserted replaced
36208:ac8243596098 36209:8db2a78cbc29
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2016, 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.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @library /test/lib /testlibrary /
    26  * @library /test/lib /testlibrary /
       
    27  * @modules java.base/jdk.internal.org.objectweb.asm
    27  * @build compiler.calls.common.InvokeDynamic
    28  * @build compiler.calls.common.InvokeDynamic
    28  * @build compiler.calls.common.InvokeDynamicPatcher
    29  * @build compiler.calls.common.InvokeDynamicPatcher
    29  * @run driver compiler.calls.common.InvokeDynamicPatcher
    30  * @run main compiler.calls.common.InvokeDynamicPatcher
    30  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
    31  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
    31  *    sun.hotspot.WhiteBox$WhiteBoxPermission
    32  *    sun.hotspot.WhiteBox$WhiteBoxPermission
    32  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.
    33  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.
    33  *    -Xbatch -XX:CompileCommand=exclude,compiler.calls.common.InvokeDynamic::callee compiler.calls.common.InvokeDynamic
    34  *    -Xbatch -XX:CompileCommand=exclude,compiler.calls.common.InvokeDynamic::callee compiler.calls.common.InvokeDynamic
    34  *    -compileCaller 1 -checkCallerCompileLevel 1 -checkCalleeCompileLevel 0
    35  *    -compileCaller 1 -checkCallerCompileLevel 1 -checkCalleeCompileLevel 0