RFR: 8310031: Parallel: Implement better work distribution for large object arrays in old gen [v24]
Richard Reingruber
rrich at openjdk.org
Fri Oct 20 06:37:37 UTC 2023
On Thu, 19 Oct 2023 18:35:03 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
>> The reset is needed because the cache requires that queries are monotonic. There was an assertion checking monotonicity. Albert thought it wouldn't be needed.
>
> I meant the comment "Reset Cached Object". I also think that the code is required :)
Resetting would be redundant if we checked `addr >= cached_obj.start_addr`. The logic couldn't be misused then either. I'll add a comment that the queries are expected to be monotonic.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14846#discussion_r1366534590
More information about the hotspot-gc-dev
mailing list