RFR: 8272773: Configurable card table card size [v7]
Thomas Schatzl
tschatzl at openjdk.java.net
Thu Nov 18 08:56:45 UTC 2021
On Thu, 18 Nov 2021 07:28:06 GMT, Vishal Chand <duke at openjdk.java.net> wrote:
>> Hi,
>>
>> Please review the changes to make CardTable entry size configurable. The changes primarily consists of:
>>
>> 1. Addition of a cmdline flag **GCCardSizeInBytes** to make the card size startup time configurable.
>> 2. Setting the card size based on the flag in G1, Parallel and Serial GC memory initialization paths.
>> 3. Setting BlockOffsetTable size and ObjectStartArray size based on the card size.
>
> Vishal Chand has updated the pull request incrementally with one additional commit since the last revision:
>
> Changes as per comments on 17-11-21
~I think this is good~. The change does not compile on Linux due to a missing include to define `INCLUDE_PARALLELGC`
I filed CRs for the renaming of the static members in [JDK-8277372](https://bugs.openjdk.java.net/browse/JDK-8277372)and looking into making card and BOT maximum size dependent on `ObjectAlignmentInBytes` in [JDK-8277373](https://bugs.openjdk.java.net/browse/JDK-8277373)
-------------
PR: https://git.openjdk.java.net/jdk/pull/5838
More information about the hotspot-gc-dev
mailing list