summaryrefslogtreecommitdiff
path: root/runtime/utils.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2015-02-28 05:37:17 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-02-28 05:37:17 +0000
commit2eb5168bd9e43b80452eaee5be32c063e124886e (patch)
tree259c775bdf0025cb31023b4740c28e117c45199f /runtime/utils.cc
parentf90316e06e1c7b7b4a4ebea8de0a1b4d72228fd6 (diff)
parent00a1f5bfa57bb4007a08435ba83b029dcebde5c0 (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.cc8
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";