RFR: 8314745: JFR: @StackFilter

Andrey Turbanov aturbanov at openjdk.org
Wed Nov 22 07:59:05 UTC 2023


On Sun, 19 Nov 2023 18:53:47 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Could I have a review of a change that allows stack frames to be filtered out.
> 
> For now, the mechanism is only available for JDK events, but plan is to make the annotation public once we feel confident the API is correct.
> 
> Testing: tier1 + tier2 + jdk/jdk/jfr/
> 
> Thanks
> Erik

src/jdk.jfr/share/classes/jdk/jfr/internal/EventControl.java line 119:

> 117:                 int index = frame.indexOf("::");
> 118:                 String clazz = null;
> 119:                 String method  = null;

Suggestion:

                String method = null;

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16726#discussion_r1401638838


More information about the hotspot-jfr-dev mailing list