8164208: Update tests with redefine classes UL options and tags​
authorrehn
Wed, 24 Aug 2016 20:38:21 +0200
changeset 40668 60d799be5dda
parent 40667 f9cf2db7f59f
child 40669 252f9d8272af
8164208: Update tests with redefine classes UL options and tags​ Reviewed-by: coleenp, gtriantafill
hotspot/test/runtime/RedefineObject/TestRedefineObject.java
hotspot/test/runtime/RedefineTests/RedefineRunningMethods.java
hotspot/test/runtime/RedefineTests/RedefineRunningMethodsWithResolutionErrors.java
--- a/hotspot/test/runtime/RedefineObject/TestRedefineObject.java	Tue Aug 23 21:49:33 2016 -0400
+++ b/hotspot/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/hotspot/test/runtime/RedefineTests/RedefineRunningMethods.java	Tue Aug 23 21:49:33 2016 -0400
+++ b/hotspot/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/hotspot/test/runtime/RedefineTests/RedefineRunningMethodsWithResolutionErrors.java	Tue Aug 23 21:49:33 2016 -0400
+++ b/hotspot/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;