Integrated: 8266217: ZGC: Improve the -Xlog:gc+init output for NUMA

Jie Fu jiefu at openjdk.java.net
Thu Apr 29 23:09:52 UTC 2021


On Wed, 28 Apr 2021 23:02:46 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 5ecef01c
Author:    Jie Fu <jiefu at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5ecef01c4a9c7994a0fd20f926d0571c0c719f6e
Stats:     37 lines in 6 files changed: 21 ins; 0 del; 16 mod

8266217: ZGC: Improve the -Xlog:gc+init output for NUMA

Reviewed-by: stefank, tschatzl, pliden

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

PR: https://git.openjdk.java.net/jdk/pull/3778



More information about the hotspot-gc-dev mailing list