RFR: 8304033: JFR: Missing thread
Erik Gahlin
egahlin at openjdk.org
Fri Mar 31 17:57:17 UTC 2023
On Fri, 31 Mar 2023 16:42:55 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:
> Greetings,
>
> please help review this small adjustment to fix the lack of thread information in certain situations, more specifically associated with JNI_AttachThread and JNI_DetachThread. The old site posting a thread start event is correct in getting the correct thread id, but the thread does not write its checkpoint at that location, which is required after JFR Event Streaming.
>
> The fix is to let the sites in jni.cpp go through the "normal" thread start entry point.
>
> Testing: jdk_jfr
>
> Thanks
> Markus
Marked as reviewed by egahlin (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/13272#pullrequestreview-1367360157
More information about the hotspot-dev
mailing list