RFR: 8332851: Shenandoah: Update refs iterator does not need to be a member of ShenandoahHeap

William Kemper wkemper at openjdk.org
Fri May 24 14:43:06 UTC 2024


On Fri, 24 May 2024 00:21:30 GMT, William Kemper <wkemper at openjdk.org> wrote:

> The iterator is used outside of Shenandoah heap to support an assert, and must be 'reset' for correctness. These iterators are typically used as a local variable, and we can do that with this iterator as well to simplify the code.

Missed that `_update_refs_iterator` is shared between concurrent and degenerated cycles. Abandoning this PR.

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

PR Comment: https://git.openjdk.org/jdk/pull/19376#issuecomment-2129700274


More information about the hotspot-gc-dev mailing list