Stop saying "clazz".
Change-Id: I569a3d29f6a394ee40e6dbdb8f76ae9a60348b65
diff --git a/src/class_linker.cc b/src/class_linker.cc
index 38ce30a..0fd184c 100644
--- a/src/class_linker.cc
+++ b/src/class_linker.cc
@@ -1142,6 +1142,9 @@
}
Class* ClassLinker::FindClass(const char* descriptor, const ClassLoader* class_loader) {
+ if (strstr(descriptor, "TestClass") != NULL) {
+ LOG(INFO) << "ClassLinker::FindClass " << descriptor;
+ }
DCHECK_NE(*descriptor, '\0') << "descriptor is empty string";
Thread* self = Thread::Current();
DCHECK(self != NULL);
@@ -1221,6 +1224,10 @@
const ClassLoader* class_loader,
const DexFile& dex_file,
const DexFile::ClassDef& dex_class_def) {
+ if (strstr(descriptor.ToString().c_str(), "TestClass") != NULL) {
+ LOG(INFO) << "ClassLinker::DefineClass " << descriptor;
+ Thread::Current()->Dump(LOG(INFO));
+ }
SirtRef<Class> klass(NULL);
// Load the class from the dex file.
if (!init_done_) {
@@ -2603,6 +2610,9 @@
}
bool ClassLinker::EnsureInitialized(Class* c, bool can_run_clinit) {
+ if (PrettyClass(c).find("TestClass") != std::string::npos) {
+ LOG(INFO) << "ClassLinker::EnsureInitialized " << PrettyClass(c);
+ }
CHECK(c != NULL);
if (c->IsInitialized()) {
return true;