RFR: 8377008: [REDO] G1: Convert remaining volatiles in G1ConcurrentMark to Atomic<T> [v3]

Thomas Schatzl tschatzl at openjdk.org
Fri Feb 13 10:07:22 UTC 2026


> Hi all,
> 
>   please review this change that reverts the backout from https://bugs.openjdk.org/browse/JDK-8377000 (first commit) and adds a simple fix to make TAMSes be initialized properly (second commit) and removes an obsolete assert (third commit).
> 
> After https://bugs.openjdk.org/browse/JDK-8371720 TAMSes are reinitialized when starting up concurrent mark at the first GC, losing all previously generated information for previously allocated memory.
> 
> The change just adds initialization of all the TAMSes for all active regions. In a follow-up I am preparing a more comprehensive change/cleanup that limits TAMS use to the marking process only so that we can initialize concurrent mark data structures even more lazily.
> 
> Testing: gha, tier1-5
> 
> Thanks,
>   Thomas

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

  * re-add some logging

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29653/files
  - new: https://git.openjdk.org/jdk/pull/29653/files/bd5b7daf..ae27510a

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

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

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


More information about the hotspot-gc-dev mailing list