On Wed, 4 Jun 2025 06:29:59 GMT, Johannes Bechberger <jbechber...@openjdk.org> 
wrote:

>> Any ideas? Or is it something for a later PR?
>
> I added another `_static_stop_signals` field which should prevent this.

The _instance is only ever deleted in case a JFR startup attempt fails as part 
of JfrRecorder::create(). The sampler must have a rate and become enrolled to 
serve clients (by installing timers). The rate is set post 
JfrRecorder::create() using the setting system, which implies that _instance != 
nullptr should be invariant.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2125976370

Reply via email to