comparison src/share/vm/runtime/thread.cpp @ 2203:5197f3d713a1

Merge
author mchung
date Tue, 08 Feb 2011 22:27:57 -0800
parents f36c9fe788b8 fb539912d338
children 0cd39a385a72 da091bb67459
comparison
equal deleted inserted replaced
2202:f36c9fe788b8 2203:5197f3d713a1
1593 vmSymbols::thread_throwable_void_signature(), 1593 vmSymbols::thread_throwable_void_signature(),
1594 threadObj, // Arg 1 1594 threadObj, // Arg 1
1595 uncaught_exception, // Arg 2 1595 uncaught_exception, // Arg 2
1596 THREAD); 1596 THREAD);
1597 } 1597 }
1598 CLEAR_PENDING_EXCEPTION; 1598 if (HAS_PENDING_EXCEPTION) {
1599 ResourceMark rm(this);
1600 jio_fprintf(defaultStream::error_stream(),
1601 "\nException: %s thrown from the UncaughtExceptionHandler"
1602 " in thread \"%s\"\n",
1603 Klass::cast(pending_exception()->klass())->external_name(),
1604 get_thread_name());
1605 CLEAR_PENDING_EXCEPTION;
1606 }
1599 } 1607 }
1600 } 1608 }
1601 1609
1602 // Call Thread.exit(). We try 3 times in case we got another Thread.stop during 1610 // Call Thread.exit(). We try 3 times in case we got another Thread.stop during
1603 // the execution of the method. If that is not enough, then we don't really care. Thread.stop 1611 // the execution of the method. If that is not enough, then we don't really care. Thread.stop