RFR: 8272773: Investigate making card table size configurable

Vishal Chand github.com+10235864+vish-chan at openjdk.java.net
Wed Oct 6 12:59:24 UTC 2021


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.

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

Commit messages:
 - 8272773: Investigate making card table size configurable

Changes: https://git.openjdk.java.net/jdk/pull/5838/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5838&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8272773
  Stats: 109 lines in 10 files changed: 87 ins; 1 del; 21 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5838.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5838/head:pull/5838

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



More information about the hotspot-gc-dev mailing list