1.1 --- a/src/share/vm/utilities/debug.cpp Wed Sep 08 08:34:57 2010 -0700 1.2 +++ b/src/share/vm/utilities/debug.cpp Sat Sep 11 08:18:31 2010 +0200 1.3 @@ -234,7 +234,7 @@ 1.4 // create heap dump before OnOutOfMemoryError commands are executed 1.5 if (HeapDumpOnOutOfMemoryError) { 1.6 tty->print_cr("java.lang.OutOfMemoryError: %s", message); 1.7 - HeapDumper::dump_heap(); 1.8 + HeapDumper::dump_heap_from_oome(); 1.9 } 1.10 1.11 if (OnOutOfMemoryError && OnOutOfMemoryError[0]) {