RFR: 8325397: sun/java2d/Disposer/TestDisposerRace.java fails in linux-aarch64
Viktor Klang
vklang at openjdk.org
Tue Sep 3 09:16:32 UTC 2024
On Fri, 16 Aug 2024 09:51:43 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> @DougLea @AlanBateman This seems to fix TestDisposerRace.java
>
>> @DougLea @AlanBateman This seems to fix TestDisposerRace.java
>
> That test runs with a small heap so I assume it's OOME. I can't help thinking we need to back off with a timed-Unsafe.park before retrying.
@AlanBateman @DougLea
>That test runs with a small heap so I assume it's OOME. I can't help thinking we need to back off with a timed-Unsafe.park before retrying.
Yeah, I think that's fair enough. I have now added that using the same technique used for `acquireOnOOME`.
@AlanBateman This is now ready for review. Had to manually squash and force-push this PR as there was a tab in some commit message.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20602#issuecomment-2293299636
PR Comment: https://git.openjdk.org/jdk/pull/20602#issuecomment-2318144917
More information about the core-libs-dev
mailing list