-
Bug
-
Resolution: Fixed
-
P3
-
21
-
b03
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8313753 | 21.0.1 | Christoph Langer | P3 | Resolved | Fixed | b06 |
In my local test, it fails on Linux platforms with both aarch64 and x86_64.
Here shows the error log:
```
STDERR:
WARNING: Using incubator modules: jdk.incubator.concurrent
java.lang.RuntimeException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.NoSuchElementException
at StressStackOverflow.lambda$run$1(StressStackOverflow.java:196)
at java.base/jdk.internal.vm.ScopedValueContainer.runWithoutScope(ScopedValueContainer.java:114)
at java.base/jdk.internal.vm.ScopedValueContainer.run(ScopedValueContainer.java:100)
at jdk.incubator.concurrent/jdk.incubator.concurrent.ScopedValue$Carrier.run(ScopedValue.java:417)
at StressStackOverflow.run(StressStackOverflow.java:158)
at StressStackOverflow.main(StressStackOverflow.java:209)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.NoSuchElementException
at StressStackOverflow.runInNewThread(StressStackOverflow.java:152)
at StressStackOverflow.lambda$run$1(StressStackOverflow.java:189)
... 9 more
Caused by: java.util.concurrent.ExecutionException: java.util.NoSuchElementException
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at jdk.incubator.concurrent/jdk.incubator.concurrent.StructuredTaskScope$FutureImpl.get(StructuredTaskScope.java:779)
at StressStackOverflow.runInNewThread(StressStackOverflow.java:149)
... 10 more
Suppressed: java.lang.IllegalStateException: Owner did not invoke join or joinUntil after fork
at jdk.incubator.concurrent/jdk.incubator.concurrent.StructuredTaskScope.close(StructuredTaskScope.java:704)
at StressStackOverflow.runInNewThread(StressStackOverflow.java:144)
... 10 more
Caused by: java.util.NoSuchElementException
at jdk.incubator.concurrent/jdk.incubator.concurrent.ScopedValue.slowGet(ScopedValue.java:570)
at jdk.incubator.concurrent/jdk.incubator.concurrent.ScopedValue.get(ScopedValue.java:563)
at StressStackOverflow$2.run(StressStackOverflow.java:183)
at StressStackOverflow.lambda$runInNewThread$0(StressStackOverflow.java:146)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.lang.ThreadBuilders$BoundVirtualThread.run(ThreadBuilders.java:436)
JavaTest Message: Test threw exception: java.lang.RuntimeException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.NoSuchElementException
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.NoSuchElementException
```
- backported by
-
JDK-8313753 java/lang/ScopedValue/StressStackOverflow.java fails with "-XX:-VMContinuations"
- Resolved
- duplicates
-
JDK-8303498 [s390x] StressStackOverflow is failing
- Closed
- relates to
-
JDK-8309646 java/lang/ScopedValue/StressStackOverflow.java failures with JTREG_TEST_THREAD_FACTORY=Virtual runs
- Open
-
JDK-8310211 serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing
- Resolved
- links to
-
Commit openjdk/jdk21u/b0da6c16
-
Commit openjdk/jdk/44a8aa06
-
Review openjdk/jdk21u/22
-
Review openjdk/jdk/14399