RFR: 8295118: G1: Clear CLD claim marks concurrently [v2]

Thomas Schatzl tschatzl at openjdk.org
Tue Oct 25 08:36:11 UTC 2022


> Hi all,
> 
>   can I have reviews for this change that moves out clearing CLD marks from the concurrent start pause to the concurrent phase?
> 
> The idea is that instead of clearing CLD marks just before marking through, clear the marks at the end of the concurrent phases (or at the end of the full gc) so that after that operation marks are reset.
> 
> I believe that one can save one of the `ClassLoaderDataGraph::clear_claimed_marks` in full gc by using different claim values (we need the one at the beginning and the end though), but the overhead of that should be minimal compared to actual full gc time.
> 
> Testing: tier1-5

Thomas Schatzl has updated the pull request incrementally with two additional commits since the last revision:

 - sjohanss review fixes
 - sjohanss review

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10675/files
  - new: https://git.openjdk.org/jdk/pull/10675/files/2c2ce57e..4d12b230

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

  Stats: 6 lines in 2 files changed: 4 ins; 2 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/10675.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10675/head:pull/10675

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


More information about the hotspot-dev mailing list