diff options
author | Andreas Gampe <agampe@google.com> | 2015-01-20 14:50:21 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-01-20 14:50:21 -0800 |
commit | 8d295f8f0e88fa5c6373962d545020a06033b3fc (patch) | |
tree | 3e0126a90a320dece1755fd5ae3852d0e618c19d /dex2oat | |
parent | 97d9f286971a4c1eec70e08f9f18f990d21780d5 (diff) | |
download | art-8d295f8f0e88fa5c6373962d545020a06033b3fc.zip art-8d295f8f0e88fa5c6373962d545020a06033b3fc.tar.gz art-8d295f8f0e88fa5c6373962d545020a06033b3fc.tar.bz2 |
ART: Curb dex2oat verbosity
Only print dedupe collisions in a debug build or on verbose logging.
Change-Id: I08bd04a453d95b6dba6cf6955b5741cd97daf480
Diffstat (limited to 'dex2oat')
-rw-r--r-- | dex2oat/dex2oat.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc index b576ca2..fe3a978 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_; |