summaryrefslogtreecommitdiffstats
path: root/dex2oat/dex2oat.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-01-20 14:50:21 -0800
committerAndreas Gampe <agampe@google.com>2015-01-20 14:50:21 -0800
commit8d295f8f0e88fa5c6373962d545020a06033b3fc (patch)
tree3e0126a90a320dece1755fd5ae3852d0e618c19d /dex2oat/dex2oat.cc
parent97d9f286971a4c1eec70e08f9f18f990d21780d5 (diff)
downloadart-8d295f8f0e88fa5c6373962d545020a06033b3fc.tar.gz
art-8d295f8f0e88fa5c6373962d545020a06033b3fc.tar.bz2
art-8d295f8f0e88fa5c6373962d545020a06033b3fc.zip
ART: Curb dex2oat verbosity
Only print dedupe collisions in a debug build or on verbose logging. Change-Id: I08bd04a453d95b6dba6cf6955b5741cd97daf480
Diffstat (limited to 'dex2oat/dex2oat.cc')
-rw-r--r--dex2oat/dex2oat.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index b576ca295b..fe3a978c4a 100644
--- a/dex2oat/dex2oat.cc
+++ b/dex2oat/dex2oat.cc
@@ -1640,7 +1640,7 @@ class Dex2Oat FINAL {
void LogCompletionTime() {
LOG(INFO) << "dex2oat took " << PrettyDuration(NanoTime() - start_ns_)
<< " (threads: " << thread_count_ << ") "
- << driver_->GetMemoryUsageString();
+ << driver_->GetMemoryUsageString(kIsDebugBuild || VLOG_IS_ON(compiler));
}
std::unique_ptr<CompilerOptions> compiler_options_;