RFR: 8309627: Incorrect sorting of DirtyCardQueue buffers

Aleksey Shipilev shade at openjdk.org
Thu Jun 8 05:46:49 UTC 2023


On Wed, 7 Jun 2023 18:02:37 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this simple fix to the sorting of dirty card buffers.  The
> comparison function is using the difference between the card pointer to
> compute the order, but is discarding all but the low 32 bits.
> 
> While I was at it, adjusted the name of the sort function.
> 
> Testing:
> mach5 tier1

Looks good!

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14365#pullrequestreview-1469037835


More information about the hotspot-gc-dev mailing list