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

Axel Boldt-Christmas aboldtch at openjdk.org
Mon Sep 22 05:09:31 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.

Thanks for the reviews

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

PR Comment: https://git.openjdk.org/jdk/pull/27389#issuecomment-3316819621


More information about the hotspot-gc-dev mailing list