equal
deleted
inserted
replaced
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 |