diff options
author | 2016-10-06 17:44:26 -0700 | |
---|---|---|
committer | 2016-10-12 09:49:49 -0700 | |
commit | 9d156d500801accee919b6d51e22d6ddcdcd4a05 (patch) | |
tree | 92129562c0ba1673c660297f26444a4a2ad31459 /runtime/runtime_linux.cc | |
parent | 078483d4dfd049d5b3f192a99e2dfdc355e4754f (diff) |
Move Heap parameters to ObjPtr
Deleted some unused object dumping code.
Test: test-art-host
Bug: 31113334
Change-Id: I747220caafe6679591fd4b361d7f50383a046164
Diffstat (limited to 'runtime/runtime_linux.cc')
-rw-r--r-- | runtime/runtime_linux.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/runtime/runtime_linux.cc b/runtime/runtime_linux.cc index 1401f0733d..93704a971c 100644 --- a/runtime/runtime_linux.cc +++ b/runtime/runtime_linux.cc @@ -36,7 +36,6 @@ namespace art { -static constexpr bool kDumpHeapObjectOnSigsevg = false; static constexpr bool kUseSigRTTimeout = true; static constexpr bool kDumpNativeStackOnTimeout = true; @@ -365,13 +364,7 @@ void HandleUnexpectedSignal(int signal_number, siginfo_t* info, void* raw_contex runtime->GetThreadList()->Dump(std::cerr, kDumpNativeStackOnTimeout); std::cerr << std::endl; } - gc::Heap* heap = runtime->GetHeap(); std::cerr << "Fault message: " << runtime->GetFaultMessage() << std::endl; - if (kDumpHeapObjectOnSigsevg && heap != nullptr && info != nullptr) { - std::cerr << "Dump heap object at fault address: " << std::endl; - heap->DumpObject(std::cerr, reinterpret_cast<mirror::Object*>(info->si_addr)); - std::cerr << std::endl; - } } if (getenv("debug_db_uid") != nullptr || getenv("art_wait_for_gdb_on_crash") != nullptr) { std::cerr << "********************************************************\n" |