RFR: 8338763: GenShen: Global GC should not swap remembered sets for the verifier

Kelvin Nilsen kdnilsen at openjdk.org
Thu Aug 22 19:04:32 UTC 2024


On Thu, 22 Aug 2024 18:57:27 GMT, William Kemper <wkemper at openjdk.org> wrote:

> It seems that subsequent improvements to remembered set verification have made this change unnecessary.
> 
> ## Testing
> GHA, internal pipelines and local dacapo runs

Marked as reviewed by kdnilsen (Committer).

src/hotspot/share/gc/shenandoah/shenandoahConcurrentGC.cpp line 601:

> 599: 
> 600:   if (heap->mode()->is_generational()) {
> 601:     if (_generation->is_young()) {

My recollection is that ShenandoahVerify (at least one time) would verify the remembered set even for a global GC.  So that's why we needed to do this, to make the verifier happy.  Has this changed?

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

PR Review: https://git.openjdk.org/shenandoah/pull/485#pullrequestreview-2255432432
PR Review Comment: https://git.openjdk.org/shenandoah/pull/485#discussion_r1727666595


More information about the shenandoah-dev mailing list