On Wed, 5 Mar 2025 21:23:57 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:
> No we should not. The OutOfMemoryError is an extension of VirtualMachineError > which says "Thrown to indicate that the Java Virtual Machine is broken or has > run out of resources necessary for it to continue operating." Then just check all usages of "catch (OutOfMemoryError e)" in the java.base and java.desktop/sound/2d/ modules. You did not mention the doc for OOM "Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, **and no more memory could be made available by the garbage collector**." ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/23814#discussion_r1982286728