RFR: 8370887: DelayScheduler.replace method may break the 4-ary heap in certain scenarios
Viktor Klang
vklang at openjdk.org
Mon Nov 24 14:43:36 UTC 2025
On Sun, 23 Nov 2025 08:08:32 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> DelayScheduler.replace missing check to sift up when replaced with smaller value. checkHeap checks invariants when replacing. Executing tests with make run-test or other targets runs tests with -esa so assume is enabled.
>
> New regression test to ensure delayed tests executes in expected delay order.
Nice work @AlanBateman & @DougLea 👍
-------------
Marked as reviewed by vklang (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/28469#pullrequestreview-3500764927
More information about the core-libs-dev
mailing list