Suppress explicit gc logging in libcore tests
These logs are so frequent it is difficult to read the output logs. On
a recent run I got ~86% of the lines in the output were the explicit
GC logs. This bloated the log file to ~80 mb, making examining it with
a web-browser difficult. This change should drastically reduce the
size.
Test: manual
Bug: 161420453
Change-Id: I2cdc77814891d125f6a6bb69decd2c68b3fa0f5b
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index 79b51da..c1141ec 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -1411,6 +1411,7 @@
runtime_options.GetOrDefault(Opt::LongPauseLogThreshold),
runtime_options.GetOrDefault(Opt::LongGCLogThreshold),
runtime_options.Exists(Opt::IgnoreMaxFootprint),
+ runtime_options.GetOrDefault(Opt::AlwaysLogExplicitGcs),
runtime_options.GetOrDefault(Opt::UseTLAB),
xgc_option.verify_pre_gc_heap_,
xgc_option.verify_pre_sweeping_heap_,