RFR: 8324334: Shenandoah: Improve end of process report [v2]
William Kemper
wkemper at openjdk.org
Wed Jan 24 00:07:43 UTC 2024
> Shenandoah emits a summary of collector statistics when the JVM process exits normally. These statistics do not include the number of cycles which did not require evacuation (we call these abbreviated or short-cut cycles).
>
> The end-of-process report should include these shortcut cycles and also show the outcomes of various cycles as a percentage of the total number of cycles. This change also removes some unused variables/methods and has the heuristic lean on the collector policy for tracking consecutive degenerated cycles (rather than having both the heuristic and the collector policy tracking this).
>
> Here is an example of the improved report:
>
> 20 Completed GCs
> 5 Successful Concurrent GCs (25.00%)
> 2 invoked explicitly (40.00%)
> 0 invoked implicitly (0.00%)
> 1 abbreviated (20.00%)
> 13 Degenerated GCs (65.00%)
> 3 upgraded to Full GC (23.08%)
> 13 caused by allocation failure (100.00%)
> 0 abbreviated (0.00%)
> 10 happened at Mark
> 3 happened at Update References
> 5 Full GCs (25.00%)
> 0 invoked explicitly (0.00%)
> 0 invoked implicitly (0.00%)
> 2 caused by allocation failure (40.00%)
> 3 upgraded from Degenerated GC (60.00%)
>
>
> In addition to GHA testing, these changes have been tested on Dacapo, Extremem, SpecJBB2015, SpecJVM2008, Heapothesys and Diluvian.
William Kemper has updated the pull request incrementally with one additional commit since the last revision:
Improve comments
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/17521/files
- new: https://git.openjdk.org/jdk/pull/17521/files/66bca0f3..f3e93e76
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=17521&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=17521&range=00-01
Stats: 12 lines in 4 files changed: 11 ins; 1 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/17521.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17521/head:pull/17521
PR: https://git.openjdk.org/jdk/pull/17521
More information about the shenandoah-dev
mailing list