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

Jonas Norlinder duke at openjdk.org
Fri Jul 4 10:19:50 UTC 2025


On Thu, 12 Jun 2025 11:28:14 GMT, Jonas Norlinder <duke at openjdk.org> wrote:

> Add support to log CPU cost for GC during VM exit with `-Xlog:gc+cpu`.
> 
> 
> [2,430s][info][gc,cpu] GC CPU usage: 22,87% (Process: 26,8926s GC: 6,1491s)

This pull request has now been integrated.

Changeset: 56ebb8c1
Author:    Jonas Norlinder <jonas.norlinder at oracle.com>
Committer: Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/56ebb8c1b936e5a4c14486153c9f60df705095ad
Stats:     254 lines in 15 files changed: 240 ins; 9 del; 5 mod

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

Co-authored-by: Erik Österlund <eosterlund at openjdk.org>
Co-authored-by: Jonas Norlinder <jnorlinder at openjdk.org>
Reviewed-by: tschatzl, ayang

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

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


More information about the hotspot-gc-dev mailing list