RFR: 8310031: Parallel: Implement better work distribution for large object arrays in old gen [v17]
Richard Reingruber
rrich at openjdk.org
Thu Oct 12 09:15:18 UTC 2023
On Wed, 11 Oct 2023 17:01:05 GMT, Richard Reingruber <rrich at openjdk.org> wrote:
>> Yes indeed. Looks correct to me. Nice simplification!
>
>> No, I mean L212 to L228. "Comment on lines +212 to +228"
>
> I looked at this at first but thought it is obviously wrong if `obj` is precisely marked after a previous young collection. But if it is precisely marked it is of course correct scan from the beginning of the dirty chunk (addr_l) to the obj/stripe end.
I get `assert(should_scavenge(p, true)) failed: revisiting object?` with test/jdk/java/lang/Thread/virtual/stress/Skynet.java when the change is applied.
It reproduces well but not 100%. Need to look into it.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14846#discussion_r1356529361
More information about the hotspot-gc-dev
mailing list