RFR: 8364343: Virtual Thread transition management needs to be independent of JVM TI [v7]
Patricio Chilano Mateo
pchilanomate at openjdk.org
Mon Dec 1 23:00:18 UTC 2025
On Mon, 1 Dec 2025 18:52:37 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> The one in `JavaThread` is needed for the `disable_transition_for_all` case. Processing each vthread is not viable, so we instead process all `JavaThreads`. If no `JavaThread` is in a transition then it implies no vthread is in a transition.
>
> So why do you need one in java_lang_Thread then?
It's needed for the `disable_transition_for_one` case. We only want to disable transitions for that particular vthread (yes, we could also disable transitions for all JavaThreads but that would be unnecessary).
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28361#discussion_r2579002237
More information about the serviceability-dev
mailing list