On Wed, 2 Dec 2026 08:51:33 GMT, Jaroslav Bachorik <[email protected]>
wrote:
>> Andrei Pangin has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Simplified fix
>
> src/hotspot/share/jfr/support/jfrThreadLocal.cpp line 147:
>
>> 145: }
>> 146: JavaThread* const jt = JavaThread::cast(t);
>> 147: if (jt->thread_state() == _thread_in_vm) {
>
> PR description talks about `is_attaching_via_jni()` to check for the thread
> feasibility, yet we have plain comparison here.
> Could you please update the PR description such that it corresponds to the
> real change?
Updated. Thanks.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/33678#discussion_r4769445760