From 56c9b7c8b1c2b3aa848229e207caa8c6613692c0 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Tue, 27 Feb 2018 18:49:26 -0800 Subject: ART: Change abort() to _exit() Change kill behavior to _exit. Even a single stack trace is too much for some folks. Bug: 73749543 Test: mmma art Change-Id: I4aef95a56056df45fb66d1e04e66fb465eb1700e --- compiler/driver/compiler_driver.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/driver/compiler_driver.cc') diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index a6681ec1ef..8ef01eef35 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -936,13 +936,13 @@ void CompilerDriver::PreCompile(jobject class_loader, // instances of this thread's stack. LOG(FATAL_WITHOUT_ABORT) << "Had a hard failure verifying all classes, and was asked to abort " << "in such situations. Please check the log."; - abort(); + _exit(1); } else if (number_of_soft_verifier_failures_ > 0 && GetCompilerOptions().AbortOnSoftVerifierFailure()) { LOG(FATAL_WITHOUT_ABORT) << "Had " << number_of_soft_verifier_failures_ << " soft failure(s) " << "verifying all classes, and was asked to abort in such situations. " << "Please check the log."; - abort(); + _exit(1); } if (compiler_options_->IsAnyCompilationEnabled()) { -- cgit v1.2.3-59-g8ed1b