RFR: 8309627: Incorrect sorting of DirtyCardQueue buffers

Albert Mingkun Yang ayang at openjdk.org
Wed Jun 7 19:33:48 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

Marked as reviewed by ayang (Reviewer).

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

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


More information about the hotspot-gc-dev mailing list