Re-enable one thread dumping the native stack of another.
Bug: 15446488
Change-Id: I49d4d283f7b7d04b9d8c940313d6c5107ba9f99d
diff --git a/runtime/utils.cc b/runtime/utils.cc
index 1211547..d9782f3 100644
--- a/runtime/utils.cc
+++ b/runtime/utils.cc
@@ -1125,14 +1125,6 @@
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)) {
os << prefix << "(backtrace::Unwind failed for thread " << tid << ")\n";