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

2024-09-10 Thread Viktor Klang
On Mon, 9 Sep 2024 20:40:22 GMT, Viktor Klang 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

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

2024-09-10 Thread Viktor Klang
This PR applies @AlanBateman's patch from the JBS issue. - Commit messages: - Hardening Thread::beforeSleep to not be able to throw OOME as per Alan Batemans ThreadSleepEvent.patch Changes: https://git.openjdk.org/jdk/pull/20923/files Webrev: https://webrevs.openjdk.org/?repo=jdk