summaryrefslogtreecommitdiff
path: root/openjdkjvmti/OpenjdkJvmTi.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2017-12-06 20:49:00 -0800
committer Andreas Gampe <agampe@google.com> 2017-12-06 21:48:47 -0800
commit92d77208d7434f2c8c49aa368769165c4d33896f (patch)
tree1146aa6d673b38c81b551687bede8c0aeffed8d5 /openjdkjvmti/OpenjdkJvmTi.cc
parent4388fb213ec746ee18a6bea38ee894f8c19990b9 (diff)
ART: Make kDebugVerifier a verbose flag
To aid in debugging efforts, finally introduce a verifier-debug verbose-logging flag that takes over the compile-time kDebugVerifier flag. Collecting verification times from a well-known large app during dex2oat via dump-timings shows a difference in the noise. Logging of the steps is restricted to failure cases, to avoid spam. Test: m Test: m test-art-host Test: manual: dex2oat --runtime-arg -verbose:verifier-debug APK with failures Change-Id: Icb998cc42a531b80f20f986625869505271b7c98
Diffstat (limited to 'openjdkjvmti/OpenjdkJvmTi.cc')
-rw-r--r--openjdkjvmti/OpenjdkJvmTi.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/openjdkjvmti/OpenjdkJvmTi.cc b/openjdkjvmti/OpenjdkJvmTi.cc
index 62f723dec1..6b2d5d6a5c 100644
--- a/openjdkjvmti/OpenjdkJvmTi.cc
+++ b/openjdkjvmti/OpenjdkJvmTi.cc
@@ -1437,6 +1437,7 @@ class JvmtiFunctions {
art::gLogVerbosity.third_party_jni = val;
art::gLogVerbosity.threads = val;
art::gLogVerbosity.verifier = val;
+ // Do not set verifier-debug.
art::gLogVerbosity.image = val;
// Note: can't switch systrace_lock_logging. That requires changing entrypoints.