RFR: 8338383: Implement JEP 491: Synchronize Virtual Threads without Pinning [v23]
Patricio Chilano Mateo
pchilanomate at openjdk.org
Thu Oct 31 16:38:09 UTC 2024
On Wed, 30 Oct 2024 23:22:42 GMT, Dean Long <dlong at openjdk.org> wrote:
>> `PreemptStatus` is meant to be used with `tryPreempt()` which is not implemented yet, i.e. there is no method yet that maps between these values and the PreemptStatus enum. The closest is `Continuation.pinnedReason` which we do use. So if you want I can remove the reference to PreemptStatus and use pinnedReason instead.
>
> Yes, that would be better for now.
Changed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21565#discussion_r1824788898
More information about the nio-dev
mailing list