Integrated: 8304033: JFR: Missing thread
Markus Grönlund
mgronlun at openjdk.org
Tue Apr 4 10:58: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
This pull request has now been integrated.
Changeset: 7ca2aec3
Author: Markus Grönlund <mgronlun at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/7ca2aec34c9b15227570893d9577b306095de40e
Stats: 25 lines in 1 file changed: 3 ins; 20 del; 2 mod
8304033: JFR: Missing thread
Reviewed-by: egahlin, dholmes
-------------
PR: https://git.openjdk.org/jdk/pull/13272
More information about the hotspot-dev
mailing list