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

Erik Gahlin egahlin at openjdk.java.net
Fri Feb 5 11:52:40 UTC 2021


On Tue, 2 Feb 2021 03:14:25 GMT, Yang Yi <github.com+5010047+kelthuzadx at openjdk.org> wrote:

>> Hi @kelthuzadx 
>> 
>> I have updated the CSR specification. Can you make corresponding changes to PR? 
>> 
>> I will review your updated PR, then review the CSR and finalize it.
>> 
>> Thanks
>> Erik
>
> 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).

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

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


More information about the hotspot-jfr-dev mailing list