RFR: 8266217: ZGC: Improve the -Xlog:gc+init output for NUMA
Jie Fu
jiefu at openjdk.java.net
Thu Apr 29 01:34:11 UTC 2021
Hi all,
This patch improves the -Xlog:gc+init output for NUMA, which is suggested by StefanK [1].
The implementation just follows how UseLargePages are setup and printed.
Before (in docker, not support get_mempolicy)
[0.007s][info][gc,init] Initializing The Z Garbage Collector
[0.007s][info][gc,init] Version: 17-internal+0-adhoc..jdk (fastdebug)
[0.007s][info][gc,init] NUMA Support: Disabled
...
After (in docker, not support get_mempolicy)
[0.007s][info][gc,init] Initializing The Z Garbage Collector
[0.007s][info][gc,init] Version: 17-internal+0-adhoc..jdk (fastdebug)
[0.007s][info][gc,init] NUMA Support: Unsupported
...
Testing:
- tier1~3 on Linux/x64, no regression
Thanks.
Best regards,
Jie
[1] https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2020-March/028927.html
-------------
Commit messages:
- 8266217: ZGC: Improve the -Xlog:gc+init output for NUMA
Changes: https://git.openjdk.java.net/jdk/pull/3778/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3778&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8266217
Stats: 37 lines in 6 files changed: 21 ins; 0 del; 16 mod
Patch: https://git.openjdk.java.net/jdk/pull/3778.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3778/head:pull/3778
PR: https://git.openjdk.java.net/jdk/pull/3778
More information about the hotspot-gc-dev
mailing list