On Fri, 17 Mar 2023 09:52:51 GMT, Viktor Klang <d...@openjdk.org> wrote:

>> Addresses the situation where exceptional completion of `orTimeout`:ed 
>> CompletableFutures wouldn't cancel the timeout task which could lead to 
>> memory leaks if done frequently enough with long enough timeout durations.
>> 
>> Fix discussed with @DougLea
>
> Viktor Klang has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Reformatting the while-body to be more legible in diffs, and inlining the 
> counter incrementation.

I just synced up with @DougLea—I'll let him decide how to handle it. :)

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

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

Reply via email to