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

Thomas Schatzl tschatzl at openjdk.org
Tue Oct 25 10:17:20 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 one additional commit since the last revision:

  ayang review2, add verification

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10675/files
  - new: https://git.openjdk.org/jdk/pull/10675/files/be0b9cf3..c15f0a73

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

  Stats: 6 lines in 1 file 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