From: Brian Carlstrom Date: Fri, 17 Oct 2014 02:12:28 +0000 (-0700) Subject: Some additional verbose logging for DexFile_defineClassNative X-Git-Tag: android-x86-7.1-r1~889^2~2867^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=667ab7c174ebdb16fc18487901c6857709adcdb8;p=android-x86%2Fart.git Some additional verbose logging for DexFile_defineClassNative Change-Id: I6a86352e9eecf4cc5b529feb784e6cd5e8ec0a45 --- diff --git a/runtime/native/dalvik_system_DexFile.cc b/runtime/native/dalvik_system_DexFile.cc index 65a79198a..11e9efcfb 100644 --- a/runtime/native/dalvik_system_DexFile.cc +++ b/runtime/native/dalvik_system_DexFile.cc @@ -192,12 +192,13 @@ static jclass DexFile_defineClassNative(JNIEnv* env, jclass, jstring javaName, j mirror::Class* result = class_linker->DefineClass(soa.Self(), descriptor.c_str(), class_loader, *dex_file, *dex_class_def); if (result != nullptr) { - VLOG(class_linker) << "DexFile_defineClassNative returning " << result; + VLOG(class_linker) << "DexFile_defineClassNative returning " << result + << " for " << class_name.c_str(); return soa.AddLocalReference(result); } } } - VLOG(class_linker) << "Failed to find dex_class_def"; + VLOG(class_linker) << "Failed to find dex_class_def " << class_name.c_str(); return nullptr; }