RFR: 8338383: Implement JEP 491: Synchronize Virtual Threads without Pinning [v7]
Alan Bateman
alanb at openjdk.org
Thu Oct 24 07:06:17 UTC 2024
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
More information about the serviceability-dev
mailing list