RFR: 8319373: Serial: Refactor dirty cards scanning during Young GC [v13]

Kim Barrett kbarrett at openjdk.org
Tue Nov 28 21:20:13 UTC 2023


On Tue, 28 Nov 2023 18:26:51 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Reading the new code directly is probably easier. The structure is quite similar to its counterpart in Parallel.
>> 
>> It's mostly perf-neutral, except when dirty cards are scarce. Using `card_scan.java` in [JDK-8310031](https://bugs.openjdk.org/browse/JDK-8310031), I observed ~40% reduction in young-gc pause time with `stride = 32 * 64`.
>
> Albert Mingkun Yang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 22 additional commits since the last revision:
> 
>  - review
>  - Merge branch 'master' into s1-young-gc
>  - review
>  - Merge branch 'master' into s1-young-gc
>  - review
>  - review
>  - Merge branch 'master' into s1-young-gc
>  - review
>  - next-obj-card
>  - review
>  - ... and 12 more: https://git.openjdk.org/jdk/compare/7e4045cd...aba888cd

Looks good.

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

Marked as reviewed by kbarrett (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/16492#pullrequestreview-1753964997


More information about the hotspot-gc-dev mailing list