hotspot/src/share/vm/runtime/thread.cpp
changeset 8476 7e34c2d4cf9b
parent 8118 7c1661c44c4a
child 8725 8c1e3dd5fe1b
equal deleted inserted replaced
8475:c2b97a27943a 8476:7e34c2d4cf9b
  3642 
  3642 
  3643   // Hang forever on exit if we are reporting an error.
  3643   // Hang forever on exit if we are reporting an error.
  3644   if (ShowMessageBoxOnError && is_error_reported()) {
  3644   if (ShowMessageBoxOnError && is_error_reported()) {
  3645     os::infinite_sleep();
  3645     os::infinite_sleep();
  3646   }
  3646   }
       
  3647   os::wait_for_keypress_at_exit();
  3647 
  3648 
  3648   if (JDK_Version::is_jdk12x_version()) {
  3649   if (JDK_Version::is_jdk12x_version()) {
  3649     // We are the last thread running, so check if finalizers should be run.
  3650     // We are the last thread running, so check if finalizers should be run.
  3650     // For 1.3 or later this is done in thread->invoke_shutdown_hooks()
  3651     // For 1.3 or later this is done in thread->invoke_shutdown_hooks()
  3651     HandleMark rm(thread);
  3652     HandleMark rm(thread);