On Wed, 26 Nov 2025 22:48:01 GMT, Patricio Chilano Mateo <[email protected]> wrote:
>> Why is there the same flag with the same name in both the Java class and C++ >> JavaThread? Might be an efficient cache, so something should say that (if >> true). > > 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? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/28361#discussion_r2578256282
