Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8209159 | 12 | Daniel Daugherty | P4 | Resolved | Fixed | b07 |
JDK-8209223 | 11.0.2 | Daniel Daugherty | P4 | Resolved | Fixed | b01 |
JDK-8209298 | 11.0.1 | Daniel Daugherty | P4 | Resolved | Fixed | b05 |
The following test needs a slightly longer timeout when running
in configuration with high parallelism:
runtime/RedefineTests/RedefineRunningMethods.java
I have run into timeouts with this test in my Thread-SMR
stress testing where I run 16 parallel tests. When I changed
the timeout from the default of 120 to 180, the test stopped
timing out.
$ hg diff test/hotspot/jtreg/runtime/RedefineTests/RedefineRunningMethods.java
diff -r 7148f4f60366 test/hotspot/jtreg/runtime/RedefineTests/RedefineRunningMethods.java
--- a/test/hotspot/jtreg/runtime/RedefineTests/RedefineRunningMethods.java Mon Aug 06 17:37:59 2018 -0400
+++ b/test/hotspot/jtreg/runtime/RedefineTests/RedefineRunningMethods.java Mon Aug 06 17:41:32 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 - seeJDK-8197901
I use the following timeoutFactor values:
# jtreg default is "othervm", run-test default is "agentvm"
TEST_MODE="othervm"
case "$cfg" in
release)
TIMEOUT="4"
;;
fastdebug)
TIMEOUT="6"
;;
slowdebug)
TIMEOUT="12"
;;
esac
in configuration with high parallelism:
runtime/RedefineTests/RedefineRunningMethods.java
I have run into timeouts with this test in my Thread-SMR
stress testing where I run 16 parallel tests. When I changed
the timeout from the default of 120 to 180, the test stopped
timing out.
$ hg diff test/hotspot/jtreg/runtime/RedefineTests/RedefineRunningMethods.java
diff -r 7148f4f60366 test/hotspot/jtreg/runtime/RedefineTests/RedefineRunningMethods.java
--- a/test/hotspot/jtreg/runtime/RedefineTests/RedefineRunningMethods.java Mon Aug 06 17:37:59 2018 -0400
+++ b/test/hotspot/jtreg/runtime/RedefineTests/RedefineRunningMethods.java Mon Aug 06 17:41:32 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
I use the following timeoutFactor values:
# jtreg default is "othervm", run-test default is "agentvm"
TEST_MODE="othervm"
case "$cfg" in
release)
TIMEOUT="4"
;;
fastdebug)
TIMEOUT="6"
;;
slowdebug)
TIMEOUT="12"
;;
esac
- backported by
-
JDK-8209159 [TESTBUG] runtime/RedefineTests/RedefineRunningMethods.java needs a longer timeout
- Resolved
-
JDK-8209223 [TESTBUG] runtime/RedefineTests/RedefineRunningMethods.java needs a longer timeout
- Resolved
-
JDK-8209298 [TESTBUG] runtime/RedefineTests/RedefineRunningMethods.java needs a longer timeout
- Resolved