RFR: JDK-8297796 GenShen: instrument the remembered set scan [v12]
Y. Srinivas Ramakrishna
ysr at openjdk.org
Thu Dec 22 04:03:16 UTC 2022
On Wed, 21 Dec 2022 19:55:18 GMT, William Kemper <wkemper at openjdk.org> wrote:
>> Please let me know if there is still any confusion wrt the documentation of `ShenandoahCardStatsLogInterval` or if you'd prefer a rewording. Thanks!
>
> Maybe "Log cumulative card stats every so many scans of the remembered set"? "Cycle" is a bit overloaded. If I read this, I would expect to see a log message every 50 GC cycles, but with (probably) two rset scans per GC cycle, it would be closer to every 25 GC cycles.
I'll reword along the lines of your suggestion.
For the specific example you gave, we will in fact see one cumulative RS log message every 50 RS scans, and one cumulative UR log message every 50 UR scans, thus roughly one each every 50 GC cycles, if you will. The case when they may not be in lockstep might be if there were full gc's or degenerated cycles that did one (e.g. RS) but skipped the other (e.g. UR -- can this happen?), because we maintain two independent counters one for RS scans and one for UR scans.
-------------
PR: https://git.openjdk.org/shenandoah/pull/176
More information about the shenandoah-dev
mailing list