RFR: 8368087: ZGC: Make ZStatLoad::print() logging conditional on os::loadavg support
Axel Boldt-Christmas
aboldtch at openjdk.org
Fri Sep 19 11:05:12 UTC 2025
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.
-------------
Commit messages:
- 8368087: ZGC: Make ZStatLoad::print() logging conditional on os::loadavg support
Changes: https://git.openjdk.org/jdk/pull/27389/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27389&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8368087
Stats: 6 lines in 1 file changed: 1 ins; 0 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/27389.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27389/head:pull/27389
PR: https://git.openjdk.org/jdk/pull/27389
More information about the hotspot-gc-dev
mailing list