[jdk17] RFR: 8269635: Stress test SEGV while emitting OldObjectSample [v2]

Jaroslav Bachorik jbachorik at openjdk.java.net
Thu Jul 8 17:56:51 UTC 2021


On Wed, 7 Jul 2021 09:37:09 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

>> Greetings,
>> 
>> please help review this change set to protect the unloaded thread id set from growing, and hence de-allocated, in the middle of inspection.
>> 
>> Testing: jdk_jfr
>> 
>> Thanks
>> Markus
>
> Markus Grönlund has updated the pull request incrementally with one additional commit since the last revision:
> 
>   clear unloaded_thread_id_set on start to reduce search space

src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.cpp line 102:

> 100:   assert(unloaded_thread_id_set == NULL, "invariant");
> 101: }
> 102: 

This does not seem to be called anywhere. Is it expected?

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

PR: https://git.openjdk.java.net/jdk17/pull/218


More information about the hotspot-jfr-dev mailing list