java.lang.ThreadBuilders and java.lang.ThreadBuilders.newVirtualThread() are not public
Alan Bateman
alan.bateman at oracle.com
Wed Aug 21 12:39:52 UTC 2024
On 21/08/2024 11:04, Rick Hendricksen wrote:
>
> Hi Alan,
>
> The way we identify simulation related blocking operations is by
> setting a variable right before parking the thread. The scheduler then
> checks if that variable is null or not, and if null it was not a
> simulation related blocking operation and we wait until we get a
> simulation related blocking operation. We can get away with this
> because we know we are running on a single thread.
>
>
Is this LockSupport.park or blocking on something else? I'm wondering if
the park blocker is set as that is something we've been mulling over
whether to expose to the scheduler.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20240821/17d7cf09/attachment.htm>
More information about the loom-dev
mailing list