On Sun, 23 Nov 2025 08:08:32 GMT, Alan Bateman <[email protected]> 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 <[email protected]>
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 <[email protected]>
Reviewed-by: vklang

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

PR: https://git.openjdk.org/jdk/pull/28469

Reply via email to