RFR: 8368954: G1: Document why G1 uses TLS storage for the current card table reference [v2]

Thomas Schatzl tschatzl at openjdk.org
Tue Sep 30 16:11:36 UTC 2025


> Hi all,
> 
>   please review some documentation update why G1 now uses TLS storage to get the current card table base value for the card mark.
> 
> TLDR: it's the overall fastest currently available way.
> 
> Testing: local compilation, this is just a trivial documentation change.
> 
> Thanks,
>   Thomas

Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:

  Update src/hotspot/share/gc/g1/g1ThreadLocalData.hpp

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27573/files
  - new: https://git.openjdk.org/jdk/pull/27573/files/bf0f553e..bfc4d1e9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27573&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27573&range=00-01

  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/27573.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27573/head:pull/27573

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


More information about the hotspot-gc-dev mailing list