[jdk11u-dev] RFR: 8322511: JfrCheckpointThreadClosure::do_thread crashes when fetching thread_id
Goetz Lindenmaier
goetz at openjdk.org
Tue Jan 23 19:28:43 UTC 2024
On Thu, 21 Dec 2023 08:19:32 GMT, 唐佳未 <duke 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
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2413#issuecomment-1867349537
More information about the jdk-updates-dev
mailing list