Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime: force JVM exit on OutOfMemoryError
Motivation: Depending which thread have received OutOfMemoryError the JVM might or might not exit. In a later cache, dCache might remain in an unpredictable state, where a component might be exposed as functional when its not. Modification: Update java options to include ExitOnOutOfMemoryError, which forces JVM to exit when an OOM is detected. Result: JVM exists when OOM is detected. NOTE: There are several situations when jvm generates an OutOfMemoryError. The ExitOnOutOfMemoryError option works ONLY when allocation in heap space fails. Ticket: #10131 Acked-by: Paul Millar Target: master Require-book: no Require-notes: yes
- Loading branch information