RFR: 8288907: serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java fails with -XX:TieredStopAtLevel=2,3
Serguei Spitsyn
sspitsyn at openjdk.org
Thu Sep 29 07:28:49 UTC 2022
The test SuspendResume fails on linux-aarch64 with timeouts.
However, it never fails when test timeout is set to a bigger value:
diff --git a/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java b/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java
index cd5b8251fce..562f2eae921 100644
--- a/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java
+++ b/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java
@@ -29,7 +29,7 @@
* @library /test/lib
* @compile --enable-preview -source ${jdk.version} SuspendResume1.java
* @run driver jdk.test.lib.FileInstaller . .
- * @run main/othervm/native
+ * @run main/othervm/native/timeout=600
* --enable-preview
* -Djava.util.concurrent.ForkJoinPool.common.parallelism=1
* -agentlib:SuspendResume1
I'd like to push this as a trivial fix.
Testing: Submitted mach5 test runs on multiple platforms.
-------------
Commit messages:
- 8288907: serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java fails with -XX:TieredStopAtLevel=2,3
Changes: https://git.openjdk.org/jdk/pull/10480/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10480&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8288907
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/10480.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10480/head:pull/10480
PR: https://git.openjdk.org/jdk/pull/10480
More information about the serviceability-dev
mailing list