diff options
Diffstat (limited to 'runtime/thread.h')
| -rw-r--r-- | runtime/thread.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/thread.h b/runtime/thread.h index 3a5d72efcb..2726e91130 100644 --- a/runtime/thread.h +++ b/runtime/thread.h @@ -187,7 +187,9 @@ class Thread { void ShortDump(std::ostream& os) const; // Dumps the detailed thread state and the thread stack (used for SIGQUIT). - void Dump(std::ostream& os, BacktraceMap* backtrace_map = nullptr) const + void Dump(std::ostream& os, + bool dump_native_stack = true, + BacktraceMap* backtrace_map = nullptr) const REQUIRES(!Locks::thread_suspend_count_lock_) SHARED_REQUIRES(Locks::mutator_lock_); @@ -1111,7 +1113,9 @@ class Thread { void VerifyStackImpl() SHARED_REQUIRES(Locks::mutator_lock_); void DumpState(std::ostream& os) const SHARED_REQUIRES(Locks::mutator_lock_); - void DumpStack(std::ostream& os, BacktraceMap* backtrace_map = nullptr) const + void DumpStack(std::ostream& os, + bool dump_native_stack = true, + BacktraceMap* backtrace_map = nullptr) const REQUIRES(!Locks::thread_suspend_count_lock_) SHARED_REQUIRES(Locks::mutator_lock_); |