Today there is a check for an OutOfMemoryError in the trace code for JFR exceptions. Look into if this can happen for StackOverflowError or other VirtualMachineErrors.
Also check if OutOfMemoryError is really needed with a static commit methods
Also check if OutOfMemoryError is really needed with a static commit methods