On Fri, 16 Aug 2024 09:51:43 GMT, Alan Bateman <al...@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