hotspot/test/gc/class_unloading/TestG1ClassUnloadingHWM.java
changeset 29678 dd2f3932c21e
parent 28190 5a6b07edeb21
child 30604 b8d532cb6420
equal deleted inserted replaced
29586:889895365eb9 29678:dd2f3932c21e
     1 /*
     1 /*
     2  * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @key gc
    26  * @key gc
    27  * @bug 8049831
    27  * @bug 8049831
    28  * @library /testlibrary /../../test/lib
    28  * @library /testlibrary /../../test/lib
       
    29  * @modules java.base/sun.misc
       
    30  *          java.management
    29  * @build TestG1ClassUnloadingHWM
    31  * @build TestG1ClassUnloadingHWM
    30  * @run main ClassFileInstaller sun.hotspot.WhiteBox
    32  * @run main ClassFileInstaller sun.hotspot.WhiteBox
    31  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
    33  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
    32  * @run driver TestG1ClassUnloadingHWM
    34  * @run driver TestG1ClassUnloadingHWM
    33  * @summary Test that -XX:-ClassUnloadingWithConcurrentMark will trigger a Full GC when more than MetaspaceSize metadata is allocated.
    35  * @summary Test that -XX:-ClassUnloadingWithConcurrentMark will trigger a Full GC when more than MetaspaceSize metadata is allocated.