summaryrefslogtreecommitdiffstats
path: root/runtime/utils.cc
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-12-04 20:11:48 -0800
committerIan Rogers <irogers@google.com>2014-12-04 20:11:48 -0800
commite652b62c581a3d68b1fc82e0b04e3a59dd633e52 (patch)
tree42cba0668fe1898cec136dc8a8b6f3f4ff45878c /runtime/utils.cc
parentc5454372f23da8248c84c29e251fb1b21c421a63 (diff)
downloadart-e652b62c581a3d68b1fc82e0b04e3a59dd633e52.tar.gz
art-e652b62c581a3d68b1fc82e0b04e3a59dd633e52.tar.bz2
art-e652b62c581a3d68b1fc82e0b04e3a59dd633e52.zip
Re-enable one thread dumping the native stack of another.
Bug: 15446488 Change-Id: I49d4d283f7b7d04b9d8c940313d6c5107ba9f99d
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 1211547a5..d9782f3fe 100644
--- a/runtime/utils.cc
+++ b/runtime/utils.cc
@@ -1125,14 +1125,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)) {
os << prefix << "(backtrace::Unwind failed for thread " << tid << ")\n";