Integrated: 8319373: Serial: Refactor dirty cards scanning during Young GC

Albert Mingkun Yang ayang at openjdk.org
Wed Nov 29 10:31:23 UTC 2023


On Fri, 3 Nov 2023 12:14:11 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`.

This pull request has now been integrated.

Changeset: 77d604a2
Author:    Albert Mingkun Yang <ayang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/77d604a29f486b62db53be3d56b921be46e56fd9
Stats:     470 lines in 4 files changed: 186 ins; 269 del; 15 mod

8319373: Serial: Refactor dirty cards scanning during Young GC

Reviewed-by: kbarrett, tschatzl

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

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


More information about the hotspot-gc-dev mailing list