hotspot/src/share/vm/utilities/debug.cpp
changeset 6445 64694b1e56e7
parent 6176 4d9030fe341f
child 6967 c5ebdcf8372e
--- a/hotspot/src/share/vm/utilities/debug.cpp	Wed Sep 08 08:34:57 2010 -0700
+++ b/hotspot/src/share/vm/utilities/debug.cpp	Sat Sep 11 08:18:31 2010 +0200
@@ -234,7 +234,7 @@
     // create heap dump before OnOutOfMemoryError commands are executed
     if (HeapDumpOnOutOfMemoryError) {
       tty->print_cr("java.lang.OutOfMemoryError: %s", message);
-      HeapDumper::dump_heap();
+      HeapDumper::dump_heap_from_oome();
     }
 
     if (OnOutOfMemoryError && OnOutOfMemoryError[0]) {