diff options
author | 2017-07-27 22:27:17 +0000 | |
---|---|---|
committer | 2017-07-27 22:27:17 +0000 | |
commit | 60c29e42c2336cc6ef4f9acf157c211c7df83747 (patch) | |
tree | 705e38122a97d39035870a6204091deb8cd5e488 /compiler/driver/compiler_driver.cc | |
parent | d1183f449bf37a1b4fb34e7535ae3a65a544f003 (diff) | |
parent | fdfb4d4c20620d8ef725bcba5c8bdaba9849b6f7 (diff) |
Merge "ART: Modify --abort-on-hard-verifier-error"
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r-- | compiler/driver/compiler_driver.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index 341ca59e5c..756481df54 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -924,8 +924,11 @@ void CompilerDriver::PreCompile(jobject class_loader, VLOG(compiler) << "Verify: " << GetMemoryUsageString(false); if (had_hard_verifier_failure_ && GetCompilerOptions().AbortOnHardVerifierFailure()) { - LOG(FATAL) << "Had a hard failure verifying all classes, and was asked to abort in such " - << "situations. Please check the log."; + // Avoid dumping threads. Even if we shut down the thread pools, there will still be three + // 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(); } if (compiler_options_->IsAnyCompilationEnabled()) { |