RFR: 8373439: Deadlock between flight recorder & VMDeath [v2]
Erik Gahlin
egahlin at openjdk.org
Wed Jan 21 14:10:41 UTC 2026
On Tue, 16 Dec 2025 09:08:25 GMT, Bara' Hasheesh <duke at openjdk.org> wrote:
>> A simple `PlatformRecorder.isInShutDown` check is added to `PlatformRecording.start` to prevent any new recording from start after the JVM initiates it's shutdown hooks
>>
>> A new test was added that fails without the change & passes with it
>>
>> I also ran `tier1`, `tier2` as well as `jdk_jfr` on Linux x86
>
> Bara' Hasheesh has updated the pull request incrementally with one additional commit since the last revision:
>
> flags
I think a dummy may be hard to test and ensure that it works for all possible scenarios. There are also behavioral questions, e.g. what should happen if a user calls Recording::dump on a dummy?
Throwing an exception creates a burden for users of the API.
We will need to think some more on how to fix this.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28767#issuecomment-3778311717
More information about the hotspot-jfr-dev
mailing list