diff options
author | Ian Rogers <irogers@google.com> | 2014-12-04 20:11:48 -0800 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-12-04 20:11:48 -0800 |
commit | e652b62c581a3d68b1fc82e0b04e3a59dd633e52 (patch) | |
tree | 42cba0668fe1898cec136dc8a8b6f3f4ff45878c /runtime/utils.cc | |
parent | c5454372f23da8248c84c29e251fb1b21c421a63 (diff) | |
download | art-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.cc | 8 |
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"; |