hotspot/test/serviceability/sa/TestInstanceKlassSizeForInterface.java
changeset 42646 591ef3658bb0
parent 42307 cefc81dc1d52
parent 42573 a20695c30be5
child 43979 4597fa06b227
equal deleted inserted replaced
42430:886368911f2b 42646:591ef3658bb0
    36 
    36 
    37 /*
    37 /*
    38  * @test
    38  * @test
    39  * @library /test/lib
    39  * @library /test/lib
    40  * @modules java.base/jdk.internal.misc
    40  * @modules java.base/jdk.internal.misc
    41  * @compile -XDignore.symbol.file=true
    41  *          jdk.hotspot.agent/sun.jvm.hotspot
    42  *          --add-modules=jdk.hotspot.agent
    42  *          jdk.hotspot.agent/sun.jvm.hotspot.utilities
    43  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot=ALL-UNNAMED
    43  *          jdk.hotspot.agent/sun.jvm.hotspot.oops
    44  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.utilities=ALL-UNNAMED
    44  *          jdk.hotspot.agent/sun.jvm.hotspot.debugger
    45  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.oops=ALL-UNNAMED
    45  * @run main/othervm TestInstanceKlassSizeForInterface
    46  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.debugger=ALL-UNNAMED
       
    47  *          TestInstanceKlassSizeForInterface.java
       
    48  * @run main/othervm
       
    49  *          --add-modules=jdk.hotspot.agent
       
    50  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot=ALL-UNNAMED
       
    51  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.utilities=ALL-UNNAMED
       
    52  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.oops=ALL-UNNAMED
       
    53  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.debugger=ALL-UNNAMED
       
    54  *          TestInstanceKlassSizeForInterface
       
    55  */
    46  */
    56 
    47 
    57 interface Language {
    48 interface Language {
    58     static final long nbrOfWords = 99999;
    49     static final long nbrOfWords = 99999;
    59     public abstract long getNbrOfWords();
    50     public abstract long getNbrOfWords();