8164208: Update tests with redefine classes UL options and tags​

Reviewed-by: coleenp, gtriantafill
This commit is contained in:
Robbin Ehn 2016-08-24 20:38:21 +02:00
parent f2dafaefc7
commit 3b1c3587d9
3 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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;