RFR: 8376889: Enhance JfrRecorder::on_create_vm_3() assert output
Markus Grönlund
mgronlun at openjdk.org
Tue Feb 3 08:42:51 UTC 2026
On Mon, 2 Feb 2026 12:05:25 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> There is an assert in JfrRecorder::on_create_vm_3 checking for JVMTI_PHASE_LIVE, but in case another phase is found it is not printed.
> This should be improved.
Marked as reviewed by mgronlun (Reviewer).
Ideally, a mapping of the enum to its string representation would be better. But I checked, and none exists, and I don't think its worth creating only for this extremely strange corner case.
-------------
PR Review: https://git.openjdk.org/jdk/pull/29521#pullrequestreview-3743860439
PR Comment: https://git.openjdk.org/jdk/pull/29521#issuecomment-3839900536
More information about the hotspot-jfr-dev
mailing list