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

Andrew Haley aph at openjdk.org
Fri Jun 16 12:24:12 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.

This pull request has now been integrated.

Changeset: 44a8aa06
Author:    Andrew Haley <aph at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/44a8aa0691f046d720a789a89c9039a010658f0c
Stats:     109 lines in 7 files changed: 40 ins; 28 del; 41 mod

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

Reviewed-by: alanb

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

PR: https://git.openjdk.org/jdk/pull/14399


More information about the core-libs-dev mailing list