6988678: fatal error deadlock handling was unintentionally disabled
authorjcoomes
Thu, 30 Sep 2010 12:15:13 -0700
changeset 6764 82eecb6073ad
parent 6763 711b8a44c4dd
child 6765 f8d7d46aa4ff
child 6766 839211600ad0
6988678: fatal error deadlock handling was unintentionally disabled Reviewed-by: ysr
hotspot/src/share/vm/runtime/thread.cpp
--- a/hotspot/src/share/vm/runtime/thread.cpp	Wed Sep 29 16:17:02 2010 -0700
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Thu Sep 30 12:15:13 2010 -0700
@@ -1073,7 +1073,6 @@
       }
     }
 
-#if 0
     if (is_error_reported()) {
       // A fatal error has happened, the error handler(VMError::report_and_die)
       // should abort JVM after creating an error log file. However in some
@@ -1101,7 +1100,6 @@
         os::sleep(this, 5 * 1000, false);
       }
     }
-#endif // #if 0
 
     PeriodicTask::real_time_tick(time_to_wait);