Add -verbose:monitor and silence the monitor logging by default.
Change-Id: If05c4853c6c072759fb6b7f301a583d6b8c55b9f
diff --git a/src/runtime.cc b/src/runtime.cc
index 4f463e5..e3aed70 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -15,6 +15,7 @@
#include "image.h"
#include "intern_table.h"
#include "jni_internal.h"
+#include "monitor.h"
#include "oat_file.h"
#include "ScopedLocalRef.h"
#include "signal_catcher.h"
@@ -410,6 +411,8 @@
LOG(INFO) << "Runtime::Init -verbose:startup enabled";
}
+ Monitor::SetVerbose(options->IsVerbose("monitor"));
+
host_prefix_ = options->host_prefix_;
boot_class_path_ = options->boot_class_path_;
class_path_ = options->class_path_;