RFR: 8338383: Implement JEP 491: Synchronize Virtual Threads without Pinning [v7]

Olexandr Rotan rotanolexandr842 at gmail.com
Thu Oct 24 07:46:53 UTC 2024


Hi. Just wanted to express my gratitude to everyone who has been working on
this and virtual threads as a whole. I am a big fan of this technology and
seeing largest issue go away makes me incredibly happy. Thanks for loom
team and everyone else who took part in this great innovation (instead of
turning each codebase into async/await painting competition :) )

On Thu, Oct 24, 2024, 10:06 Alan Bateman <alanb at openjdk.org> wrote:

> On Thu, 24 Oct 2024 02:42:35 GMT, David Holmes <dholmes at openjdk.org>
> wrote:
>
> >> Patricio Chilano Mateo has updated the pull request incrementally with
> one additional commit since the last revision:
> >>
> >>   Minor fixes in inc/dec_held_monitor_count on aarch64 and riscv
> >
> > src/java.base/share/classes/java/lang/Thread.java line 655:
> >
> >> 653:      * early startup to generate the identifier for the primordial
> thread. The
> >> 654:      * counter is off-heap and shared with the VM to allow it
> assign thread
> >> 655:      * identifiers to non-Java threads.
> >
> > Why do non-JavaThreads need an identifier of this kind?
>
> JFR. We haven't changed anything there, just the initial tid.
>
> -------------
>
> PR Review Comment:
> https://git.openjdk.org/jdk/pull/21565#discussion_r1814387940
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20241024/c3953c3d/attachment.htm>


More information about the core-libs-dev mailing list