8164208: Update tests with redefine classes UL options and tags
Reviewed-by: coleenp, gtriantafill
--- 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;