RFR: 8304033: JFR: Missing thread
Markus Grönlund
mgronlun at openjdk.org
Fri Mar 31 16:50:22 UTC 2023
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
-------------
Commit messages:
- 8304033
Changes: https://git.openjdk.org/jdk/pull/13272/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13272&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8304033
Stats: 25 lines in 1 file changed: 3 ins; 20 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/13272.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13272/head:pull/13272
PR: https://git.openjdk.org/jdk/pull/13272
More information about the hotspot-dev
mailing list