test/hotspot/jtreg/gc/whitebox/TestWBGC.java
changeset 52925 9c18c9d839d3
parent 50525 767cdb97f103
child 53523 4c5184c56dc2
equal deleted inserted replaced
52924:420ff459906f 52925:9c18c9d839d3
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2018, 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.
    23 
    23 
    24 /*
    24 /*
    25  * @test TestWBGC
    25  * @test TestWBGC
    26  * @bug 8055098
    26  * @bug 8055098
    27  * @summary Test verify that WB methods isObjectInOldGen and youngGC works correctly.
    27  * @summary Test verify that WB methods isObjectInOldGen and youngGC works correctly.
    28  * @requires vm.gc != "Z"
    28  * @requires vm.gc != "Z" & vm.gc != "Shenandoah"
    29  * @library /test/lib
    29  * @library /test/lib
    30  * @modules java.base/jdk.internal.misc
    30  * @modules java.base/jdk.internal.misc
    31  *          java.management
    31  *          java.management
    32  * @build sun.hotspot.WhiteBox
    32  * @build sun.hotspot.WhiteBox
    33  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
    33  * @run driver ClassFileInstaller sun.hotspot.WhiteBox