diff options
author | 2014-05-12 17:30:36 -0700 | |
---|---|---|
committer | 2014-05-12 17:30:36 -0700 | |
commit | 966ce11364ae08c95ea1ad5b8077c98949917055 (patch) | |
tree | 6459810777392127a3757136fa76fd36254b2d47 | |
parent | f92a45609352fb1dc3460a07d83284b353270221 (diff) |
Restore "Late-enable" logging
It is referenced from "Debugging Android JNI with CheckJNI"
Change-Id: I155138df4a894b33f0a1ae03344442a144a5fced
-rw-r--r-- | runtime/native/dalvik_system_ZygoteHooks.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/native/dalvik_system_ZygoteHooks.cc b/runtime/native/dalvik_system_ZygoteHooks.cc index f541633b9f..7490e6a762 100644 --- a/runtime/native/dalvik_system_ZygoteHooks.cc +++ b/runtime/native/dalvik_system_ZygoteHooks.cc @@ -58,12 +58,12 @@ static void EnableDebugFeatures(uint32_t debug_flags) { Runtime* runtime = Runtime::Current(); JavaVMExt* vm = runtime->GetJavaVM(); if (!vm->check_jni) { - VLOG(jni) << "Late-enabling -Xcheck:jni"; + LOG(INFO) << "Late-enabling -Xcheck:jni"; vm->SetCheckJniEnabled(true); // There's only one thread running at this point, so only one JNIEnv to fix up. Thread::Current()->GetJniEnv()->SetCheckJniEnabled(true); } else { - VLOG(jni) << "Not late-enabling -Xcheck:jni (already on)"; + LOG(INFO) << "Not late-enabling -Xcheck:jni (already on)"; } debug_flags &= ~DEBUG_ENABLE_CHECKJNI; } |