< prev index next >
test/jdk/java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java
Print this page
*** 32,45 ****
* @summary Basic Test for MemoryPool.resetPeakUsage()
* @author Mandy Chung
*
* @requires vm.opt.ExplicitGCInvokesConcurrent != "true"
* @requires vm.opt.DisableExplicitGC != "true"
! * @library /lib/testlibrary/ /test/lib
* @modules jdk.management
*
! * @build jdk.testlibrary.* ResetPeakMemoryUsage MemoryUtil RunUtil
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. ResetPeakMemoryUsage
*/
--- 32,45 ----
* @summary Basic Test for MemoryPool.resetPeakUsage()
* @author Mandy Chung
*
* @requires vm.opt.ExplicitGCInvokesConcurrent != "true"
* @requires vm.opt.DisableExplicitGC != "true"
! * @library /test/lib
* @modules jdk.management
*
! * @build ResetPeakMemoryUsage MemoryUtil RunUtil
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. ResetPeakMemoryUsage
*/
< prev index next >