equal
deleted
inserted
replaced
32 * 2. release all allocated object except the last humongous one |
32 * 2. release all allocated object except the last humongous one |
33 * "..................................H" |
33 * "..................................H" |
34 * 3. invoke gc and check that memory returned to the system (amount of committed memory got down) |
34 * 3. invoke gc and check that memory returned to the system (amount of committed memory got down) |
35 * |
35 * |
36 * @library /test/lib / |
36 * @library /test/lib / |
|
37 * @requires vm.gc.G1 |
37 * @modules java.base/jdk.internal.misc |
38 * @modules java.base/jdk.internal.misc |
38 * java.management/sun.management |
39 * java.management/sun.management |
39 * @run main gc.g1.TestShrinkDefragmentedHeap |
40 * @run main gc.g1.TestShrinkDefragmentedHeap |
40 */ |
41 */ |
41 import java.lang.management.ManagementFactory; |
42 import java.lang.management.ManagementFactory; |