RFR: 8310031: Parallel: Implement better work distribution for large object arrays in old gen [v2]
Richard Reingruber
rrich at openjdk.org
Thu Jul 27 06:39:40 UTC 2023
On Wed, 26 Jul 2023 21:21:30 GMT, Richard Reingruber <rrich at openjdk.org> wrote:
> The guiding principle of PSCardTable::scavenge_contents_parallel is to scan only objects that start in the current stripe
And with this pr also large array chunks. When we found that the last stripe before `space_top` has no object start then we know there is no array chunk to scan either. There might be the end of a large array but this is scanned together with the chunk in the previous stripe (see https://github.com/openjdk/jdk/pull/14846/files#diff-fc75bbdc27c5b981a8b66f77cbd83e6d86d8f7d3e313701207d880b7036c8b92R238-R239).
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14846#discussion_r1275795987
More information about the hotspot-dev
mailing list