profile_frequency
Analyze JFR recordings to identify hot methods by counting exclusive leaf stack samples. Pinpoint the most frequently executed code paths in your Java application.
Instructions
Call frequency profile from a .jfr file. Counts methods that appear at the leaf (top) of the stack in ExecutionSample events — i.e. methods that were actively executing when sampled. Returns the most frequently sampled methods (exclusive, not cumulative). Use when looking for hot spots or the most often executed code paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | No | Path to .jfr file. Shortcuts: 'new_profile' (current, default) or 'old_profile' (previous). Or full path e.g. recordings/new_profile.jfr. | new_profile |
| topN | No | Maximum number of top methods by call frequency to return. Default: 10. |