diff options
author | 2017-10-19 22:28:38 +0000 | |
---|---|---|
committer | 2017-10-19 22:28:38 +0000 | |
commit | 5ef8128014b1796ae56dba3031f64ce6bfef4496 (patch) | |
tree | ea1f3804f9b8f117e861c8d856cf83add69c9a09 | |
parent | ad0fbe9ac34ece07e587db4c138f2ae0fbfdefbe (diff) | |
parent | dbe54913870fff81cae0796c0f7b66cf298b6d1f (diff) |
Merge "ART: Only check non-deoptable classes in slow-debug"
-rw-r--r-- | runtime/native/dalvik_system_ZygoteHooks.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/native/dalvik_system_ZygoteHooks.cc b/runtime/native/dalvik_system_ZygoteHooks.cc index e40a071223..af78372982 100644 --- a/runtime/native/dalvik_system_ZygoteHooks.cc +++ b/runtime/native/dalvik_system_ZygoteHooks.cc @@ -22,6 +22,7 @@ #include "arch/instruction_set.h" #include "art_method-inl.h" +#include "base/logging.h" #include "debugger.h" #include "java_vm_ext.h" #include "jit/jit.h" @@ -49,7 +50,8 @@ namespace art { // Set to true to always determine the non-debuggable classes even if we would not allow a debugger // to actually attach. -static constexpr bool kAlwaysCollectNonDebuggableClasses = kIsDebugBuild; +static bool kAlwaysCollectNonDebuggableClasses = + RegisterRuntimeDebugFlag(&kAlwaysCollectNonDebuggableClasses); using android::base::StringPrintf; |