RFR: Add support for jdk.jfr.Frequency

Jie Kang jkang at redhat.com
Tue Apr 16 13:02:30 UTC 2019


The patch attached adds support for the annotation jdk.jfr.Frequency,
using the Hertz unit introduced in JMC-5768 for JFR events like
CPUTimeStampCounter, ThreadContextSwitchRate, etc.

The following is a before and after image for the event browser for

How does it look?

I was initially also trying to find related unit tests, but I don't
think any exist. I will be looking to write some but I'd like some
feedback if this is even a correct implementation before continuing.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jmc-jfr-frequency-1.patch
Type: text/x-patch
Size: 1377 bytes
Desc: not available
URL: <https://mail.openjdk.java.net/pipermail/jmc-dev/attachments/20190416/b35b9d56/jmc-jfr-frequency-1.patch>

More information about the jmc-dev mailing list