RFR: 8355022: Implement JEP 506: Scoped Values [v7]

Alan Bateman alanb at openjdk.org
Thu May 8 18:40:55 UTC 2025


On Thu, 8 May 2025 18:18:44 GMT, Chen Liang <liach at openjdk.org> wrote:

> I noted that `ThreadFlock` is using scoped values but throwing `StructureViolationException` introduced by structured concurrency - is it considered an implementation artifact and part of structured concurrency instead?

ThreadFlock supports the inheritance of scoped values into structured concurrency contexts. No changes in this PR to that construct.

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

PR Comment: https://git.openjdk.org/jdk/pull/24923#issuecomment-2863955030


More information about the compiler-dev mailing list