diff options
author | 2015-02-28 05:37:17 +0000 | |
---|---|---|
committer | 2015-02-28 05:37:17 +0000 | |
commit | 2eb5168bd9e43b80452eaee5be32c063e124886e (patch) | |
tree | 259c775bdf0025cb31023b4740c28e117c45199f /runtime/utils.cc | |
parent | f90316e06e1c7b7b4a4ebea8de0a1b4d72228fd6 (diff) | |
parent | 00a1f5bfa57bb4007a08435ba83b029dcebde5c0 (diff) |
Merge "Revert "Revert "Re-enable one thread dumping the native stack of another."""
Diffstat (limited to 'runtime/utils.cc')
-rw-r--r-- | runtime/utils.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/utils.cc b/runtime/utils.cc index 6afc373f9b..fd2f110cb2 100644 --- a/runtime/utils.cc +++ b/runtime/utils.cc @@ -1264,14 +1264,6 @@ void DumpNativeStack(std::ostream& os, pid_t tid, const char* prefix, return; } -#if !defined(HAVE_ANDROID_OS) - if (GetTid() != tid) { - // TODO: dumping of other threads is disabled to avoid crashes during stress testing. - // b/15446488. - return; - } -#endif - std::unique_ptr<Backtrace> backtrace(Backtrace::Create(BACKTRACE_CURRENT_PROCESS, tid)); if (!backtrace->Unwind(0, reinterpret_cast<ucontext*>(ucontext_ptr))) { os << prefix << "(backtrace::Unwind failed for thread " << tid << ")\n"; |