hotspot/src/share/vm/utilities/vmError.cpp
changeset 1887 0ed88ac17540
parent 1660 86be56b9ba46
child 2129 e810a33b5c67
child 2105 347008ce7984
--- a/hotspot/src/share/vm/utilities/vmError.cpp	Sat Dec 20 00:45:18 2008 -0800
+++ b/hotspot/src/share/vm/utilities/vmError.cpp	Tue Dec 23 06:16:53 2008 -0800
@@ -674,6 +674,11 @@
     reset_signal_handlers();
 
   } else {
+    // If UseOsErrorReporting we call this for each level of the call stack
+    // while searching for the exception handler.  Only the first level needs
+    // to be reported.
+    if (UseOSErrorReporting && log_done) return;
+
     // This is not the first error, see if it happened in a different thread
     // or in the same thread during error reporting.
     if (first_error_tid != mytid) {