jdk/test/java/lang/instrument/ManyMethodsBenchmarkAgent.java
changeset 30376 2ccf2cf7ea48
parent 29383 971ae566f595
child 36237 963d1115678b
equal deleted inserted replaced
30375:6da086d0f46d 30376:2ccf2cf7ea48
    25  * @test
    25  * @test
    26  * @bug 8046246
    26  * @bug 8046246
    27  * @summary Tests and benchmarks the JVMTI RedefineClasses when a
    27  * @summary Tests and benchmarks the JVMTI RedefineClasses when a
    28  *          single class (and its parent) contains many methods.
    28  *          single class (and its parent) contains many methods.
    29  *
    29  *
       
    30  * @modules java.compiler
       
    31  *          java.instrument
       
    32  *          jdk.compiler
    30  * @run build ManyMethodsBenchmarkApp ManyMethodsBenchmarkAgent
    33  * @run build ManyMethodsBenchmarkApp ManyMethodsBenchmarkAgent
    31  * @run shell MakeJAR3.sh ManyMethodsBenchmarkAgent 'Can-Retransform-Classes: true'
    34  * @run shell MakeJAR3.sh ManyMethodsBenchmarkAgent 'Can-Retransform-Classes: true'
    32  * @run main/othervm -javaagent:ManyMethodsBenchmarkAgent.jar ManyMethodsBenchmarkApp
    35  * @run main/othervm -javaagent:ManyMethodsBenchmarkAgent.jar ManyMethodsBenchmarkApp
    33  */
    36  */
    34 import java.lang.instrument.*;
    37 import java.lang.instrument.*;