RFR: 8338314: JFR: Split JFRCheckpoint VM operation

Markus Grönlund mgronlun at openjdk.org
Thu Aug 15 12:10:49 UTC 2024


On Tue, 13 Aug 2024 15:56:46 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Investigating JFR crashes is a bit tedious, as Events section in `hs_err` shows just:
> 
> 
> Event: 3.006 Executing VM operation: JFRCheckpoint
> Event: 3.006 Executing VM operation: JFRCheckpoint done
> 
> 
> What is that `JFRCheckpoint` doing is unclear, because it can do two separate things: clear or write. It would be good if we could disambiguate the two. Since there are only two flavors of checkpoint, I think we can just split the VMOp into two more precisely named ones, so it gives us e.g.:
> 
> 
> Event: 2.462 Executing VM operation: JFRSafepointClear
> Event: 2.463 Executing VM operation: JFRSafepointClear done

Looks good.

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

Marked as reviewed by mgronlun (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20570#pullrequestreview-2240242758


More information about the hotspot-dev mailing list