RFR: 8299419: Thread.sleep(millis) may throw OOME

Viktor Klang vklang at openjdk.org
Tue Sep 10 08:35:17 UTC 2024


On Mon, 9 Sep 2024 20:40:22 GMT, Viktor Klang <vklang at openjdk.org> wrote:

> This PR applies @AlanBateman's patch from the JBS issue.

@DougLea @AlanBateman This patch seems to side-step the issues we saw with OOME-on-sleep. Which coincidentally should also harden TestDisposerRace.java so if we get this patch merged we should be able to close that one as a duplicate.

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

PR Comment: https://git.openjdk.org/jdk/pull/20923#issuecomment-2340015335


More information about the core-libs-dev mailing list