RFR: 8299419: Thread.sleep(millis) may throw OOME [v2]
Alan Bateman
alanb at openjdk.org
Wed Sep 11 07:03:06 UTC 2024
On Wed, 11 Sep 2024 06:18:25 GMT, David Holmes <dholmes at openjdk.org> wrote:
> If these are just methods that might be seen in a stackdump then we still need `ThreadSleepEvent.isEnabled` and `ThreadSleepEvent.<init>`.
I think minimal here is to just drop isTurnedOn from lists in these tests. From what I can tell, the tests are sampling in a loop and can tolerate up to a limit. Hopefully someone will step up some day and replace them.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20923#issuecomment-2342818919
More information about the core-libs-dev
mailing list