mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
6306922: Dump dump created by +HeapDumpOnOutOfMemoryError should include stack traces for stack roots
Include stack traces of all threads in the heap dump Reviewed-by: alanb
This commit is contained in:
parent
04b0ebb9c1
commit
e5e6ca9d62
3 changed files with 158 additions and 36 deletions
|
@ -242,6 +242,7 @@ class ThreadStackTrace : public CHeapObj {
|
|||
ThreadStackTrace(JavaThread* thread, bool with_locked_monitors);
|
||||
~ThreadStackTrace();
|
||||
|
||||
JavaThread* thread() { return _thread; }
|
||||
StackFrameInfo* stack_frame_at(int i) { return _frames->at(i); }
|
||||
int get_stack_depth() { return _depth; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue