[jdk11u-dev] RFR: 8322511: JfrCheckpointThreadClosure::do_thread crashes when fetching thread_id [v4]

Jiawei Tang duke at openjdk.org
Wed Mar 6 06:20:52 UTC 2024


On Tue, 5 Mar 2024 03:14:01 GMT, Jiawei Tang <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()`.
>
> Jiawei Tang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update full name

The results of related JFR testcases are all successful.
 
   TEST                                              TOTAL  PASS  FAIL ERROR   
   jtreg:test/jdk/jdk/jfr                              434   434     0     0

-------------

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2413#issuecomment-1980161892


More information about the jdk-updates-dev mailing list