RFR: 8305062: Refactor CardTable::resize_covered_region
Albert Mingkun Yang
ayang at openjdk.org
Tue Apr 18 08:34:10 UTC 2023
On Tue, 28 Mar 2023 09:59:51 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Simple refactoring to make logic around cardtable cover-region more concrete, since #generations and gen-boundary is fixed for Serial/Parallel.
>
> Test: tier1-6
> They are not used in the hotspot agent afaict though, so they could simply be removed.
I will explore that option in another PR.
> One option could be to introduce some TwoGenerationCardTable class that is used by serial/parallel which can add these methods/members.
I think that complicates the inheritance hierarchy too much without real benefit.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13206#issuecomment-1512678482
More information about the hotspot-gc-dev
mailing list