RFR: 8329962: Remove CardTable::invalidate
Guoxiong Li
gli at openjdk.org
Fri Apr 12 03:50:43 UTC 2024
On Tue, 9 Apr 2024 13:44:22 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Simple converting redundant if-check to assert.
The `CardTable::invalidate` can dirty a memory region cross generational boundary. But actually, we always only want to dirty the regions of one of the two generations instead of crossing them. So it is good to remove `CardTable::invalidate`.
Is my understanding above right?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18696#issuecomment-2050915367
More information about the hotspot-gc-dev
mailing list