public final void handleJVMError ( final Error e ) { if ( jvmError . compareAndSet ( null , e ) ) { OLogManager . instance ( ) . errorNoDb ( this , "JVM error was thrown" , e ) ; } }
That is internal method which is called once we encounter any error inside of JVM . In such case we need to restart JVM to avoid any data corruption . Till JVM is not restarted storage will be put in read - only state .