test/hotspot/jtreg/vmTestbase/metaspace/gc/watermark_0_1/TestDescription.java
changeset 58511 eb68d459ba6a
parent 50223 28a33a0dbf04
child 59053 ba6c248cae19
equal deleted inserted replaced
58510:23a06a5eeddd 58511:eb68d459ba6a
     1 /*
     1 /*
     2  * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2017, 2019, 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.
    27  * @modules java.base/jdk.internal.misc:+open
    27  * @modules java.base/jdk.internal.misc:+open
    28  *
    28  *
    29  * @summary converted from VM Testbase metaspace/gc/watermark_0_1.
    29  * @summary converted from VM Testbase metaspace/gc/watermark_0_1.
    30  * VM Testbase keywords: [nonconcurrent, no_cds]
    30  * VM Testbase keywords: [nonconcurrent, no_cds]
    31  *
    31  *
       
    32  * @comment Don't run test in configurations where we can't reliably count number of metaspace triggered GCs
       
    33  * @requires vm.gc != null | !vm.opt.final.ClassUnloadingWithConcurrentMark
       
    34  * @requires vm.gc != "G1" | !vm.opt.final.ClassUnloadingWithConcurrentMark
       
    35  * @requires vm.gc != "ConcMarkSweep"
       
    36  * @requires vm.gc != "Z"
    32  * @library /vmTestbase /test/lib
    37  * @library /vmTestbase /test/lib
    33  * @run driver jdk.test.lib.FileInstaller . .
    38  * @run driver jdk.test.lib.FileInstaller . .
    34  * @run main/othervm
    39  * @run main/othervm
    35  *      -Xmx1g
    40  *      -Xmx1g
    36  *      -Xms150m
    41  *      -Xms150m