summaryrefslogtreecommitdiffstats
path: root/runtime/runtime_linux.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_linux.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_linux.cc')
-rw-r--r--runtime/runtime_linux.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/runtime_linux.cc b/runtime/runtime_linux.cc
index 1de035c0d5..927309177a 100644
--- a/runtime/runtime_linux.cc
+++ b/runtime/runtime_linux.cc
@@ -284,7 +284,6 @@ void HandleUnexpectedSignal(int signal_number, siginfo_t* info, void* raw_contex
}
handlingUnexpectedSignal = true;
- gAborting++; // set before taking any locks
MutexLock mu(Thread::Current(), *Locks::unexpected_signal_lock_);
bool has_address = (signal_number == SIGILL || signal_number == SIGBUS ||