RFR: 8368087: ZGC: Make ZStatLoad::print() logging conditional on os::loadavg support

Stefan Karlsson stefank at openjdk.org
Fri Sep 19 13:07:53 UTC 2025


On Fri, 19 Sep 2025 10:59:00 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

> ZStatLoad::print() logs the load average on the machine, however it does not check whether the operation is supported or not. This results in printing a load average of 0/0/0 on Windows which is a bit misleading.

Marked as reviewed by stefank (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/27389#pullrequestreview-3244776281


More information about the hotspot-gc-dev mailing list