6361589: Print out stack trace for target thread of GC crash

If GC crashed with java thread involved, print out the java stack trace in error report

Reviewed-by: never, ysr, coleenp, dholmes
This commit is contained in:
Yumin Qi 2009-12-11 11:09:49 -08:00
parent baf249687c
commit 4f656a451e
8 changed files with 74 additions and 9 deletions

View file

@ -83,7 +83,7 @@ class VMOperationQueue : public CHeapObj {
// like scavenge, garbage_collect etc.
//
class VMThread: public Thread {
class VMThread: public NamedThread {
private:
static ThreadPriority _current_priority;
@ -101,8 +101,6 @@ class VMThread: public Thread {
bool is_VM_thread() const { return true; }
bool is_GC_thread() const { return true; }
char* name() const { return (char*)"VM Thread"; }
// The ever running loop for the VMThread
void loop();