summaryrefslogtreecommitdiffstats
path: root/runtime/runtime_android.cc
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-12-04 19:53:52 -0800
committerIan Rogers <irogers@google.com>2014-12-04 20:04:45 -0800
commit015b137efb434528173779bc3ec8d72494456254 (patch)
tree2ccaba9d7465bd9995082a7251d34cf76b1ab1ea /runtime/runtime_android.cc
parenta21fdd0432aa38b63d144ee4b92b6a567aab61d2 (diff)
downloadart-015b137efb434528173779bc3ec8d72494456254.tar.gz
art-015b137efb434528173779bc3ec8d72494456254.tar.bz2
art-015b137efb434528173779bc3ec8d72494456254.zip
Tidy gAborting.
Reduce scope to Runtime::Abort and short-cut recursive case earlier. gAborting remains global to avoid two fatal errors in thread and the verifier. Change-Id: Ibc893f891ffee9a763c65cde9507d99083d47b3f
Diffstat (limited to 'runtime/runtime_android.cc')
-rw-r--r--runtime/runtime_android.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/runtime_android.cc b/runtime/runtime_android.cc
index 33600ddba5..33641edb50 100644
--- a/runtime/runtime_android.cc
+++ b/runtime/runtime_android.cc
@@ -38,7 +38,6 @@ void HandleUnexpectedSignal(int signal_number, siginfo_t* info, void* raw_contex
_exit(1);
}
handling_unexpected_signal = true;
- gAborting++; // set before taking any locks
MutexLock mu(Thread::Current(), *Locks::unexpected_signal_lock_);
Runtime* runtime = Runtime::Current();