mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
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:
parent
baf249687c
commit
4f656a451e
8 changed files with 74 additions and 9 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue