test/hotspot/jtreg/gc/g1/TestShrinkDefragmentedHeap.java
changeset 54638 9b8926bf85c1
parent 53694 a0a327cae58f
equal deleted inserted replaced
54637:b71940f7fa96 54638:9b8926bf85c1
    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;