RFR: 8275055: Improve HeapRegionRemSet::split_card() [v5]

Thomas Schatzl tschatzl at openjdk.java.net
Wed Oct 20 15:38:24 UTC 2021


On Wed, 20 Oct 2021 15:09:56 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> `_heap_base_address` feels more natural to live in `G1CollectedHeap`. Anyway, this is very subjective.

The local cached copy is intentional: we do not want the extra indirection via `G1CollectedHeap::heap()`; otherwise we could simply use `G1CollectedHeap::heap()->reserved().start()` there instead.

Thanks @albertnetymk @kstefanj and @kimbarrett for your reviews.

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

PR: https://git.openjdk.java.net/jdk/pull/5895



More information about the hotspot-gc-dev mailing list