[jdk11u-dev] RFR: 8322511: JfrCheckpointThreadClosure::do_thread crashes when fetching thread_id
唐佳未
duke at openjdk.org
Fri Jan 26 02:55:35 UTC 2024
On Fri, 22 Dec 2023 07:46:36 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:
>> Threads which are in the state of `is_attaching_via_jni` may have the NULL object as their `_threadObj` .
>> So the JVM will crash when calling `JfrCheckpointThreadClosure::do_thread()`.
>
> Hi,
> is this an error in 11 only?
> If so, explain why & where this was fixed in higher versions.
> Else please close this PR, reopen it against repo jdk. Once it is submitted there, backport it to 21, 17 and 11.
> See also https://wiki.openjdk.org/display/JDKUpdates/How+to+contribute+or+backport+a+fix
@GoeLin Hi, I has not been an author so I cannot use `/backport` to backport JDK-8276125 from jdk to jdk17u-dev. I asked my colleague to do this for me. I read the description of JDK-8276125, I think the issue ([JDK-8322511](https://bugs.openjdk.org/browse/JDK-8322511)) is different from that even though they are similar. I hope that you could review my code and give me some suggestions if I need to make more changes. Thanks.
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2413#issuecomment-1911327675
More information about the jdk-updates-dev
mailing list