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

Erik Österlund eosterlund at openjdk.org
Fri Sep 19 11:42:01 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.

Looks good.

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

Marked as reviewed by eosterlund (Reviewer).

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


More information about the hotspot-gc-dev mailing list