changeset 11869:162138df46f7

8164208: Update tests with redefine classes UL options and tags? Reviewed-by: coleenp, gtriantafill
author rehn
date Wed, 24 Aug 2016 20:38:21 +0200
parents 03762a0cf7e1
children a8b9f9ed30ff
files test/runtime/RedefineObject/TestRedefineObject.java test/runtime/RedefineTests/RedefineRunningMethods.java test/runtime/RedefineTests/RedefineRunningMethodsWithResolutionErrors.java
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/runtime/RedefineObject/TestRedefineObject.java	Tue Aug 23 21:49:33 2016 -0400
+++ b/test/runtime/RedefineObject/TestRedefineObject.java	Wed Aug 24 20:38:21 2016 +0200
@@ -42,7 +42,7 @@
  * @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  {
--- a/test/runtime/RedefineTests/RedefineRunningMethods.java	Tue Aug 23 21:49:33 2016 -0400
+++ b/test/runtime/RedefineTests/RedefineRunningMethods.java	Wed Aug 24 20:38:21 2016 +0200
@@ -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 {
 
--- a/test/runtime/RedefineTests/RedefineRunningMethodsWithResolutionErrors.java	Tue Aug 23 21:49:33 2016 -0400
+++ b/test/runtime/RedefineTests/RedefineRunningMethodsWithResolutionErrors.java	Wed Aug 24 20:38:21 2016 +0200
@@ -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;