8164208: Update tests with redefine classes UL options and tags
Reviewed-by: coleenp, gtriantafill
This commit is contained in:
parent
f2dafaefc7
commit
3b1c3587d9
@ -42,7 +42,7 @@ import jdk.test.lib.process.OutputAnalyzer;
|
||||
* @build Agent
|
||||
* @run main ClassFileInstaller Agent
|
||||
* @run main TestRedefineObject
|
||||
* @run main/othervm -javaagent:agent.jar -XX:TraceRedefineClasses=5 Agent
|
||||
* @run main/othervm -javaagent:agent.jar -Xlog:redefine+class+load=debug,redefine+class+timer=info Agent
|
||||
*/
|
||||
public class TestRedefineObject {
|
||||
public static void main(String[] args) throws Exception {
|
||||
|
@ -31,7 +31,7 @@
|
||||
* java.instrument
|
||||
* jdk.jartool/sun.tools.jar
|
||||
* @run main RedefineClassHelper
|
||||
* @run main/othervm -javaagent:redefineagent.jar -XX:TraceRedefineClasses=0x600 RedefineRunningMethods
|
||||
* @run main/othervm -javaagent:redefineagent.jar -Xlog:redefine+class+iklass+add=trace,redefine+class+iklass+purge=trace RedefineRunningMethods
|
||||
*/
|
||||
public class RedefineRunningMethods {
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
* java.instrument
|
||||
* jdk.jartool/sun.tools.jar
|
||||
* @run main RedefineClassHelper
|
||||
* @run main/othervm -javaagent:redefineagent.jar -XX:TraceRedefineClasses=0x600 RedefineRunningMethodsWithResolutionErrors
|
||||
* @run main/othervm -javaagent:redefineagent.jar -Xlog:redefine+class+iklass+add=trace,redefine+class+iklass+purge=trace RedefineRunningMethodsWithResolutionErrors
|
||||
*/
|
||||
|
||||
import jdk.internal.org.objectweb.asm.ClassWriter;
|
||||
|
Loading…
x
Reference in New Issue
Block a user