The starting time for the ZPageAllocation JFR event is measured separately from creating an EventZPageAllocation variable. This means it is better to use the anonymous EventZPageAllocation::commit rather than creating an event and sending that event.
Additionally, if the event is not enabled (either specifically or if JFR is disabled), we should not sample statistics for the event.
Additionally, if the event is not enabled (either specifically or if JFR is disabled), we should not sample statistics for the event.
- links to
-
Commit(master) openjdk/jdk/b9f7caed
-
Review(master) openjdk/jdk/26534