Withdrawn: 8359110: Log accumulated GC and process CPU time upon VM exit

Jonas Norlinder duke at openjdk.org
Thu Jun 12 11:28:35 UTC 2025


On Tue, 10 Jun 2025 13:24:37 GMT, Jonas Norlinder <duke at openjdk.org> wrote:

> Add support to log CPU cost for GC during VM exit with `-Xlog:gc`.
> 
> 
> [1.500s][info ][gc] GC CPU cost: 1.75%
> 
> 
> Additionally, detailed information may be retrieved with `-Xlog:gc=trace`
> 
> 
> [1.500s][trace][gc] Process CPU time: 4.945370s
> [1.500s][trace][gc] GC CPU time: 0.086382s
> [1.500s][info ][gc] GC CPU cost: 1.75%

This pull request has been closed without being integrated.

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

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


More information about the shenandoah-dev mailing list