RFR: 8280783: Parallel: Refactor PSCardTable::scavenge_contents_parallel

Ivan Walulya iwalulya at openjdk.java.net
Wed Feb 9 15:40:16 UTC 2022


On Thu, 27 Jan 2022 08:49:47 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> A new version of `PSCardTable::scavenge_contents_parallel` with cleaner structure and most of the existing behavior. The deviation is so large that the diff is not very sensible; reading the new code directly is probably easier.
> 
> This PR doesn't take advantage of precise card marking, just like the existing code. IOW, the code assumes all cards are *imprecisely* marked. Optimizations like utilizing precise card marking will be investigated/attempted in another ticket/PR.
> 
> Test: Tier1-6

Lgtm!

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

Marked as reviewed by iwalulya (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/7243



More information about the hotspot-gc-dev mailing list