hotspot/test/compiler/jsr292/InvokerGC.java
changeset 40059 c2304140ed64
parent 39438 206a712f8f16
equal deleted inserted replaced
40058:b4441f6cfe79 40059:c2304140ed64
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8067247
    26  * @bug 8067247
    27  * @modules java.base/jdk.internal.misc
    27  * @modules java.base/jdk.internal.misc
    28  * @library /test/lib /
    28  * @library /test/lib
       
    29  *
    29  * @run main/bootclasspath/othervm -Xcomp -Xbatch
    30  * @run main/bootclasspath/othervm -Xcomp -Xbatch
    30  *      -XX:CompileCommand=compileonly,InvokerGC::test
       
    31  *      -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
    31  *      -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
    32  *      InvokerGC
    32  *      -XX:CompileCommand=compileonly,compiler.jsr292.InvokerGC::test
       
    33  *      compiler.jsr292.InvokerGC
    33  */
    34  */
    34 
    35 
    35 import java.lang.invoke.*;
    36 package compiler.jsr292;
       
    37 
    36 import sun.hotspot.WhiteBox;
    38 import sun.hotspot.WhiteBox;
       
    39 
       
    40 import java.lang.invoke.MethodHandle;
       
    41 import java.lang.invoke.MethodHandles;
       
    42 import java.lang.invoke.MethodType;
    37 
    43 
    38 public class InvokerGC {
    44 public class InvokerGC {
    39     static final WhiteBox WB = WhiteBox.getWhiteBox();
    45     static final WhiteBox WB = WhiteBox.getWhiteBox();
    40 
    46 
    41     static MethodHandle mh;
    47     static MethodHandle mh;