RFR: 8308609: java/lang/ScopedValue/StressStackOverflow.java fails with "-XX:-VMContinuations"

Amit Kumar amitkumar at openjdk.org
Fri Jun 9 17:31:42 UTC 2023


On Fri, 9 Jun 2023 16:53:15 GMT, Andrew Haley <aph at openjdk.org> wrote:

> Move `runWith()` from `VirtualThread` to `BaseVirtualThread`.
> 
> `BoundVirtualThread` does not use `runWith()` to run its task, so when a VM error occurs it can not recover scoped values.
> 
> Moving `runWith()` into the common subclass of both `VirtualThread` and `BoundVirtualThread` fixes the problem.

Hi Andrew, 

This test failure is no more reproducible on s390x now, would you consider undo-ing problemlisting done by [JDK-8303499](https://bugs.openjdk.org/browse/JDK-8303499), I'll close the parent task [JDK-8303498](https://bugs.openjdk.org/browse/JDK-8303498)

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14399#issuecomment-1584919138


More information about the core-libs-dev mailing list