RFR: 7201: JdkAttributes.OS_SWITCH_RATE does not work consistently across JFRs from different JDK versions.

Suchita Chaturvedi schaturvedi at openjdk.java.net
Tue May 11 14:55:54 UTC 2021


On Tue, 11 May 2021 11:36:20 GMT, Marcus Hirt <hirt at openjdk.org> wrote:

> The Oracle type id should be defined in OracleJdkTypeIDsPre11.

I feel its already there at line no 181 in OracleJdkTypeIDsPre11 as below:
private final static String CONTEXT_SWITCH_RATE = JVM_EVENT_ID_ROOT + "os/processor/context_switch_rate";

Please let me know if otherwise.

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

PR: https://git.openjdk.java.net/jmc/pull/246


More information about the jmc-dev mailing list