diff options
| author | 2017-01-31 20:18:59 +0000 | |
|---|---|---|
| committer | 2017-01-31 20:19:00 +0000 | |
| commit | 318797a758f81e7f8a0b440129238b9b5eb1b74e (patch) | |
| tree | 4d8558ec590cb1938c7e9cefcb983615a177437d /runtime/thread.h | |
| parent | 44790fe8b33c7a80da2e77787d5f8d4d4549114b (diff) | |
| parent | 13c1635e07b8ee09120e267e2abe860aee05db7c (diff) | |
Merge "Force stack dump to diagnose empty checkpoint timeout."
Diffstat (limited to 'runtime/thread.h')
| -rw-r--r-- | runtime/thread.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/thread.h b/runtime/thread.h index b609e723e9..b59eac68e9 100644 --- a/runtime/thread.h +++ b/runtime/thread.h @@ -196,7 +196,8 @@ class Thread { // Dumps the detailed thread state and the thread stack (used for SIGQUIT). void Dump(std::ostream& os, bool dump_native_stack = true, - BacktraceMap* backtrace_map = nullptr) const + BacktraceMap* backtrace_map = nullptr, + bool force_dump_stack = false) const REQUIRES(!Locks::thread_suspend_count_lock_) REQUIRES_SHARED(Locks::mutator_lock_); @@ -1204,7 +1205,8 @@ class Thread { void DumpState(std::ostream& os) const REQUIRES_SHARED(Locks::mutator_lock_); void DumpStack(std::ostream& os, bool dump_native_stack = true, - BacktraceMap* backtrace_map = nullptr) const + BacktraceMap* backtrace_map = nullptr, + bool force_dump_stack = false) const REQUIRES(!Locks::thread_suspend_count_lock_) REQUIRES_SHARED(Locks::mutator_lock_); |