Integrated: 8320805: JFR: Create view for deprecated methods
Erik Gahlin
egahlin at openjdk.org
Thu Dec 7 11:57:38 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
This pull request has now been integrated.
Changeset: b5933b18
Author: Erik Gahlin <egahlin at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/b5933b186f03baffdd4d53b8a48c710e15d1318a
Stats: 96 lines in 7 files changed: 66 ins; 13 del; 17 mod
8320805: JFR: Create view for deprecated methods
Reviewed-by: mgronlun
-------------
PR: https://git.openjdk.org/jdk/pull/17000
More information about the hotspot-jfr-dev
mailing list