RFR(XXXS): 8209149 runtime/RedefineTests/RedefineRunningMethods.java needs a longer timeout

Daniel D. Daugherty daniel.daugherty at oracle.com
Wed Aug 8 17:34:26 UTC 2018


Greetings,

I have a trivial change to a test's timeout value. I need a single
(R)eviewer for this change.

     JDK-8209149 runtime/RedefineTests/RedefineRunningMethods.java needs 
a longer timeout
     https://bugs.openjdk.java.net/browse/JDK-8209149

Here is the diff:

$ hg diff
diff -r 2afc9aa349ed 
test/hotspot/jtreg/runtime/RedefineTests/RedefineRunningMethods.java
--- 
a/test/hotspot/jtreg/runtime/RedefineTests/RedefineRunningMethods.java 
Wed Aug 08 13:45:41 2018 +0800
+++ 
b/test/hotspot/jtreg/runtime/RedefineTests/RedefineRunningMethods.java 
Wed Aug 08 13:32:24 2018 -0400
@@ -31,7 +31,7 @@
   *          java.instrument
   *          jdk.jartool/sun.tools.jar
   * @run main RedefineClassHelper
- * @run main/othervm -javaagent:redefineagent.jar 
-Xlog:redefine+class+iklass+add=trace,redefine+class+iklass+purge=trace,all=trace:file=all.log 
RedefineRunningMethods
+ * @run main/othervm/timeout=180 -javaagent:redefineagent.jar 
-Xlog:redefine+class+iklass+add=trace,redefine+class+iklass+purge=trace,all=trace:file=all.log 
RedefineRunningMethods
   */
  // Test is executed with full trace logging redirected to a file to 
ensure there is no crash during logging anonymous classes - see JDK-8197901


Thanks, in advance, for any comments, suggestions or questions.

Dan



More information about the hotspot-runtime-dev mailing list