test/jdk/java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java
changeset 52731 157c1130b46e
parent 50455 2b73cce96dce
child 59053 ba6c248cae19
equal deleted inserted replaced
52730:345266000aba 52731:157c1130b46e
    32  * @summary Basic Test for MemoryPool.resetPeakUsage()
    32  * @summary Basic Test for MemoryPool.resetPeakUsage()
    33  * @author  Mandy Chung
    33  * @author  Mandy Chung
    34  *
    34  *
    35  * @requires vm.opt.ExplicitGCInvokesConcurrent != "true"
    35  * @requires vm.opt.ExplicitGCInvokesConcurrent != "true"
    36  * @requires vm.opt.DisableExplicitGC != "true"
    36  * @requires vm.opt.DisableExplicitGC != "true"
    37  * @library /lib/testlibrary/ /test/lib
    37  * @library /test/lib
    38  * @modules jdk.management
    38  * @modules jdk.management
    39  *
    39  *
    40  * @build jdk.testlibrary.* ResetPeakMemoryUsage MemoryUtil RunUtil
    40  * @build ResetPeakMemoryUsage MemoryUtil RunUtil
    41  * @build sun.hotspot.WhiteBox
    41  * @build sun.hotspot.WhiteBox
    42  * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
    42  * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
    43  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. ResetPeakMemoryUsage
    43  * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. ResetPeakMemoryUsage
    44  */
    44  */
    45 
    45