On Mon, 1 Dec 2025 18:52:37 GMT, Coleen Phillimore <[email protected]> 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
