RFR: 7201: JdkAttributes.OS_SWITCH_RATE does not work consistently across JFRs from different JDK versions.
Marcus Hirt
hirt at openjdk.java.net
Tue May 11 15:03:59 UTC 2021
On Wed, 5 May 2021 20:08:32 GMT, Suchita Chaturvedi <schaturvedi at openjdk.org> wrote:
> This PR addresses the issue of switchRate attribute not accessible via core API when used for JFR generated with JDK 11 and above.
>
> Please review the change and provide your valuable comments.
Changes requested by hirt (Lead).
core/org.openjdk.jmc.flightrecorder/src/main/java/org/openjdk/jmc/flightrecorder/parser/synthetic/SyntheticAttributeExtension.java line 198:
> 196:
> 197: } else if (eventTypeId
> 198: .equalsIgnoreCase("http://www.oracle.com/hotspot/jvm/os/processor/context_switch_rate")) {
This line here:
.equalsIgnoreCase("http://www.oracle.com/hotspot/jvm/os/processor/context_switch_rate")
-------------
PR: https://git.openjdk.java.net/jmc/pull/246
More information about the jmc-dev
mailing list