test/hotspot/jtreg/runtime/appcds/TestWithProfiler.java
changeset 51214 67736b4846a0
parent 50113 caf115bb98ad
child 51990 6003e034cdd8
equal deleted inserted replaced
51213:24c4780f69a5 51214:67736b4846a0
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
    24 
    24 
    25 /*
    25 /**
    26  * @test
    26  * @test
    27  * @bug 8145221
    27  * @bug 8145221
    28  * @summary After creating an AppCDS archive, run the test with the JFR profiler
    28  * @summary After creating an AppCDS archive, run the test with the JFR profiler
    29  *          enabled, and keep calling a method in the archive in a tight loop.
    29  *          enabled, and keep calling a method in the archive in a tight loop.
    30  *          This is to test the safe handling of trampoline functions by the
    30  *          This is to test the safe handling of trampoline functions by the
    31  *          profiler.
    31  *          profiler.
    32  * @requires vm.cds
    32  * @requires vm.hasJFR & vm.cds
    33  * @library /test/lib /test/hotspot/jtreg/runtime/appcds
    33  * @library /test/lib /test/hotspot/jtreg/runtime/appcds
    34  * @modules java.base/jdk.internal.misc
    34  * @modules java.base/jdk.internal.misc
    35  *          java.management
    35  *          java.management
    36  *          jdk.jartool/sun.tools.jar
    36  *          jdk.jartool/sun.tools.jar
    37  * @compile test-classes/MyThread.java
    37  * @compile test-classes/MyThread.java