RFR: 8366847: JFR reports incorrect number of cores on hybrid CPU [v2]

Erik Gahlin egahlin at openjdk.org
Tue Sep 9 11:35:10 UTC 2025


On Tue, 9 Sep 2025 11:01:32 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

> I checked the flight record, but JMC 9.1 showed raw min_jlong value. I think it is a problem on JMC.

Interesting, it has worked in the past.

> I hope the problem would be found by jdk_jfr tests

Try to add:

    +           event.getInt("cores");
    +           Integer value = event.getValue("cores");
 
to TestCPUInformation.java. There's no need to check in the changes, but it would be good to know what happens if it is a long value.

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

PR Comment: https://git.openjdk.org/jdk/pull/27080#issuecomment-3270271752


More information about the hotspot-jfr-dev mailing list