RFR: 8303244: G1: call CardTable::clear_MemRegion directly

Albert Mingkun Yang ayang at openjdk.org
Tue Feb 28 13:53:04 UTC 2023


On Tue, 28 Feb 2023 09:03:18 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> what the difference between CT::clear and CT::clear_MemRegion might be.

The former guards against memregions not covered by `_covered`. (Maybe or maybe not really needed for Serial/Parallel; will take a look after this PR.)

> dirty_MemRegion vs clear_MemRegion

Maybe there's no need for such discrepancy. Can be fixed in another PR.

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

PR: https://git.openjdk.org/jdk/pull/12764


More information about the hotspot-gc-dev mailing list