RFR: 8361912: ThreadsListHandle::cv_internal_thread_to_JavaThread does not deal with a virtual thread's carrier thread [v2]
Serguei Spitsyn
sspitsyn at openjdk.org
Thu Jul 24 17:37:53 UTC 2025
On Thu, 24 Jul 2025 15:45:02 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
>> Note that `java_thread` may already be null so we don't get to execute line 836.
>
> Thanks, David. The potential issue I'm still concerned about is that a subsequent handshaking can also observe the JavaThread (and virtual thread as well) in a VTMS transition when there is no protection with a `VTMSTransitionDisabler`.
> Note that java_thread may already be null so we don't get to execute line 836.
Right. I guess, this answers my comment about the line 839.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26287#discussion_r2229142376
More information about the hotspot-dev
mailing list