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

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

This pull request has now been integrated.

Changeset: a1b43c30
Author:    Axel Boldt-Christmas <aboldtch at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a1b43c3046ecf42fd5b8f40274625cae120b3a3c
Stats:     6 lines in 1 file changed: 1 ins; 0 del; 5 mod

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

Reviewed-by: eosterlund, stefank, jsikstro

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

PR: https://git.openjdk.org/jdk/pull/27389


More information about the hotspot-gc-dev mailing list