RFR: 8295118: G1: Clear CLD claim marks concurrently

Ivan Walulya iwalulya at openjdk.org
Mon Oct 24 15:57:49 UTC 2022


On Wed, 12 Oct 2022 12:49:42 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> 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

Marked as reviewed by iwalulya (Reviewer).

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

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


More information about the hotspot-dev mailing list