Integrated: 8370887: DelayScheduler.replace method may break the 4-ary heap in certain scenarios
Alan Bateman
alanb at openjdk.org
Tue Nov 25 07:08:59 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.
This pull request has now been integrated.
Changeset: cc5b35bf
Author: Alan Bateman <alanb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/cc5b35bf69dcf9e7e8037642c94e8d7e5847952d
Stats: 199 lines in 2 files changed: 181 ins; 8 del; 10 mod
8370887: DelayScheduler.replace method may break the 4-ary heap in certain scenarios
Co-authored-by: Doug Lea <dl at openjdk.org>
Reviewed-by: vklang
-------------
PR: https://git.openjdk.org/jdk/pull/28469
More information about the core-libs-dev
mailing list