equal
deleted
inserted
replaced
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.*; |