hotspot/src/share/vm/utilities/vmError.cpp
void VMError::report_java_out_of_memory() {
{- -------------------------------------------
(1) OnOutOfMemoryError オプションが指定されていれば VM_ReportJavaOutOfMemory::doit() を実行する.
---------------------------------------- -}
if (OnOutOfMemoryError && OnOutOfMemoryError[0]) {
MutexLocker ml(Heap_lock);
VM_ReportJavaOutOfMemory op(this);
VMThread::execute(&op);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.