RFR: 8352066: JVM.commit() and JVM.flush() exhibit race conditions against JFR epochs

Markus Grönlund mgronlun at openjdk.org
Fri Mar 14 18:38:26 UTC 2025


On Fri, 14 Mar 2025 14:55:40 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

> Greetings,
> 
> This change set removes some race conditions involving JFR epochs. For details, please see the JIRA issue.
> 
> Testing: jdk_jfr, TestChunkIntegrity testing
> 
> Thanks
> Markus

> I noticed that a boolean flag was added to the JfrCheckpointManager::on_rotation, but couldn't see where it was being used. Was this by design or a mistake?

These are remnants from a previous iteration. Thanks for noticing. I will remove it.

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

PR Comment: https://git.openjdk.org/jdk/pull/24061#issuecomment-2725405512


More information about the hotspot-jfr-dev mailing list