Integrated: 8361175: JFR: Document differences between method sample events

Erik Gahlin egahlin at openjdk.org
Tue Jul 8 14:07:48 UTC 2025


On Fri, 4 Jul 2025 11:57:07 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Could I have a review that clarifies how the method sample events work?
> 
> - Added descriptions to NativeMethodSample, ExecutionSample and CPUTimeSample to clarify what they sample and what they don't sample.
> - Removed the word "Method" from the labels of the CPUTimeSample and ExecutionSample events for consistency and to avoid overly verbose event labels.
> - Added the word "setting" so that the description of CPUTimeSample reads "throttle setting" instead of just "throttle".
> - Changed the label for the CPUTimeSamplesLost event to "CPU Time Samples Lost", making it easier to associate with "CPU Time Sample" event. 
> - Removed the percentage column from the "native-methods" view, as normalization doesn't make sense when mixing executing and waiting samples.
> 
> 
> Testing: tets/jdk/jdk/jfr + tier1
> 
> Thanks
> Erik

This pull request has now been integrated.

Changeset: 63e08d4a
Author:    Erik Gahlin <egahlin at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/63e08d4af7145b94048d565f4f80dae221090c19
Stats:     12 lines in 2 files changed: 2 ins; 0 del; 10 mod

8361175: JFR: Document differences between method sample events

Reviewed-by: mgronlun

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

PR: https://git.openjdk.org/jdk/pull/26132


More information about the hotspot-jfr-dev mailing list