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

Yasumasa Suenaga ysuenaga at openjdk.org
Sat Oct 4 00:39:50 UTC 2025


On Fri, 3 Oct 2025 13:15:03 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

>> I think incorrect value is not useful because it causes confusing.
>> 
>> If we have to keep current code to set estimated value, I can use `VM_Version::supports_hybrid()` in JFR code to emit -1 on the event.
>
> Even if the value is incorrect, it still has some value as an approximation. We could update the description to make this clearer, or perhaps provide additional information to help users.

This PR adds "Hybrid Architecture" to the description field. Do you think it is enough only it?

I think it is better to add some notice that number of cores is approximate value, and it might be incorrect on hybrid CPU. However I have no idea where to add it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27080#discussion_r2403620724


More information about the hotspot-dev mailing list