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
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index a6681ec..8ef01ee 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -936,13 +936,13 @@
// 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()) {