RFR: 8320805: JFR: Create view for deprecated methods
Markus Grönlund
mgronlun at openjdk.org
Wed Dec 6 23:20:34 UTC 2023
On Wed, 6 Dec 2023 17:14:08 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:
> Could I have a review of a new view for the 'jfr' command to display deprecated methods for removal.
>
> Usage:
>
> `$ jfr view deprecated-methods-for-removal <recording-file>`
>
> If the package name doesn't fit, the _--width size_ option can be specified.
>
> A new aggregator function SET is introduced and if the cell-height is more than 1, items in the set, or list, are written on separate lines. I also added support for the synthetic field "stackTrace.topFrame.class". Long term plan is to allow ".class" suffix on any method/frame field, not just the topFrame. Elipsis is no longer used when contents exactly matches the column width. Switched to LinkedHashSet to make results deterministic and in the order items are found in the file.
>
> Testing: jdk/jdk/jfr
>
> Thanks
> Erik
Marked as reviewed by mgronlun (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/17000#pullrequestreview-1768824566
More information about the hotspot-jfr-dev
mailing list