diff src/share/vm/runtime/vmThread.cpp @ 1119:547f81740344

6361589: Print out stack trace for target thread of GC crash Summary: If GC crashed with java thread involved, print out the java stack trace in error report Reviewed-by: never, ysr, coleenp, dholmes
author minqi
date Fri, 11 Dec 2009 11:09:49 -0800
parents 148e5441d916
children 8859772195c6
line wrap: on
line diff
--- a/src/share/vm/runtime/vmThread.cpp	Wed Dec 02 20:32:27 2009 -0500
+++ b/src/share/vm/runtime/vmThread.cpp	Fri Dec 11 11:09:49 2009 -0800
@@ -204,8 +204,8 @@
 }
 
 
-VMThread::VMThread() : Thread() {
-  // nothing to do
+VMThread::VMThread() : NamedThread() {
+  set_name("VM Thread");
 }
 
 void VMThread::destroy() {