On Thu, 14 Nov 2024 13:20:06 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

>> I see that existing `Cleaner` tests are quite rich already. Array-based 
>> implementation does rise question about testing the resizes, that's obvious. 
>> But I have discovered that copying arrays is not really that good in this 
>> scenario which balloons cleaner lists and shrinks them rapidly in our 
>> reproducers. So I have reimplemented the whole thing as the linked list of 
>> arrays, which makes capacity management code much less problematic. The new 
>> asserts around that code should IMO test enough with existing tests.
>
> Nevermind, I added a directed regression test for it now.

> I see that existing `Cleaner` tests are quite rich already. 
> ...
> The new asserts around that code should IMO test enough with existing tests.

Should any of the existing `Cleaner` tests have `@run`s added with `-esa` ?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22043#discussion_r1842885362

Reply via email to