hotspot/test/serviceability/sa/TestInstanceKlassSize.java
changeset 42573 a20695c30be5
parent 42075 e5b263ac8c2e
child 42646 591ef3658bb0
equal deleted inserted replaced
42572:faf8f5152129 42573:a20695c30be5
    43 
    43 
    44 /*
    44 /*
    45  * @test
    45  * @test
    46  * @library /test/lib
    46  * @library /test/lib
    47  * @modules java.base/jdk.internal.misc
    47  * @modules java.base/jdk.internal.misc
    48  * @compile -XDignore.symbol.file=true
    48  *          jdk.hotspot.agent/sun.jvm.hotspot
    49  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot=ALL-UNNAMED
    49  *          jdk.hotspot.agent/sun.jvm.hotspot.utilities
    50  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.utilities=ALL-UNNAMED
    50  *          jdk.hotspot.agent/sun.jvm.hotspot.oops
    51  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.oops=ALL-UNNAMED
    51  *          jdk.hotspot.agent/sun.jvm.hotspot.debugger
    52  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.debugger=ALL-UNNAMED
    52  * @run main/othervm TestInstanceKlassSize
    53  *          TestInstanceKlassSize.java
       
    54  * @run main/othervm
       
    55  *          --add-modules=jdk.hotspot.agent
       
    56  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot=ALL-UNNAMED
       
    57  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.utilities=ALL-UNNAMED
       
    58  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.oops=ALL-UNNAMED
       
    59  *          --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.debugger=ALL-UNNAMED
       
    60  *          TestInstanceKlassSize
       
    61  */
    53  */
    62 
    54 
    63 public class TestInstanceKlassSize {
    55 public class TestInstanceKlassSize {
    64 
    56 
    65     private static String getJcmdInstanceKlassSize(OutputAnalyzer output,
    57     private static String getJcmdInstanceKlassSize(OutputAnalyzer output,