RFR: 8256156: JFR: Allow 'jfr' tool to show metadata without a recording

Yang Yi github.com+5010047+kelthuzadx at openjdk.java.net
Sun Feb 7 08:45:43 UTC 2021


On Fri, 5 Feb 2021 11:50:15 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

>> Hi @egahlin, thanks for your update. I have changed my patch according to the latest specification. Please help review this PR.
>> 
>> Thanks,
>> Yang Yi
>
> Now --events operates on types, not just events.
> 
> I think you could keep EventType, and much of the code that you changed into Type. You just need to check if a type is an EventType, i.e. if (Type.SUPER_TYPE_EVENT.equals(type.getSuperType())) { ...}, when using --events (or --categories).

I've updated my patch. Only when meeting an event type, a filter applied, otherwise it operates on types

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

PR: https://git.openjdk.java.net/jdk/pull/1904


More information about the hotspot-jfr-dev mailing list