From time to time developers try to use the JVM's out-of-memory flags (e.g. -XX:OnOutOfMemoryError) expecting them to activate when Java code throws an OutOfMemoryError - which they don't. The manpage description of these flags needs to be updated to make that clear.
- relates to
-
JDK-8258058 improve description of OutOfMemoryError relevant flags
-
- Resolved
-
-
JDK-8257790 ExitOnOutOfMemoryError doesn't cover OOMEs from Java libraries
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk/cd15ebb9
-
Review(master) openjdk/jdk/22802