From 015b137efb434528173779bc3ec8d72494456254 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Thu, 4 Dec 2014 19:53:52 -0800 Subject: 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 --- runtime/runtime_linux.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'runtime/runtime_linux.cc') 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 || -- cgit v1.2.3