equal
deleted
inserted
replaced
36 |
36 |
37 /** |
37 /** |
38 * @test TestHeapCounters |
38 * @test TestHeapCounters |
39 * @summary Checks that heap counters work as expected after humongous allocations/deallocations |
39 * @summary Checks that heap counters work as expected after humongous allocations/deallocations |
40 * @requires vm.gc.G1 |
40 * @requires vm.gc.G1 |
41 * @library /testlibrary /test/lib / |
41 * @library /test/lib / |
42 * @modules java.base/jdk.internal.misc |
42 * @modules java.base/jdk.internal.misc |
43 * @modules java.management |
43 * @modules java.management |
44 * @build sun.hotspot.WhiteBox |
44 * @build sun.hotspot.WhiteBox |
45 * gc.testlibrary.Helpers |
|
46 * gc.g1.humongousObjects.TestHeapCounters |
|
47 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
45 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
48 * sun.hotspot.WhiteBox$WhiteBoxPermission |
46 * sun.hotspot.WhiteBox$WhiteBoxPermission |
49 * |
47 * |
50 * @run main/othervm -XX:+UseG1GC -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
48 * @run main/othervm -XX:+UseG1GC -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
51 * -Xmx128m -Xms128m |
49 * -Xmx128m -Xms128m |