diff options
| author | 2014-06-14 02:34:44 +0000 | |
|---|---|---|
| committer | 2014-06-13 21:10:05 +0000 | |
| commit | 37a6981e355ba3532f5144a1b25be93746b00430 (patch) | |
| tree | fa2310c0fe4a91d0d2ef3eb734af0685e0d2f3e0 /compiler/driver/compiler_driver.cc | |
| parent | 2e9a1faf6a89d464f4f95dd60008a3ccf4a62b76 (diff) | |
| parent | 073ed9ba97df41862403f64d7a2e824d09ab50ed (diff) | |
Merge "ART: Ignore timing issues in debug builds"
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
| -rw-r--r-- | compiler/driver/compiler_driver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index 16c1e00c83..3e326f0633 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -1918,7 +1918,7 @@ void CompilerDriver::CompileMethod(const DexFile::CodeItem* code_item, uint32_t } } uint64_t duration_ns = NanoTime() - start_ns; - if (duration_ns > MsToNs(compiler_->GetMaximumCompilationTimeBeforeWarning())) { + if (duration_ns > MsToNs(compiler_->GetMaximumCompilationTimeBeforeWarning()) && !kIsDebugBuild) { LOG(WARNING) << "Compilation of " << PrettyMethod(method_idx, dex_file) << " took " << PrettyDuration(duration_ns); } |