RFR: 8325397: sun/java2d/Disposer/TestDisposerRace.java fails in linux-aarch64
Viktor Klang
vklang at openjdk.org
Tue Sep 3 09:16:33 UTC 2024
On Tue, 20 Aug 2024 11:53:20 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> One option is to record the first encountered exception instance, which can then be rethrown once acquire succeeds?
>
> Object.wait and Condition.await are unusual in that they must reacquire they continue, even if they throw. So might not be crazy for the cases where it does recover (I assume some cases will never recover and it will retry indefinitely).
@DougLea What do you think about storing the initial exception and rethrowing it on an eventual retry success?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20602#discussion_r1723639098
More information about the core-libs-dev
mailing list