Fix Object::IsSoftReference
Also changed -Xzygote to default boot.art and log arguments
Finally Makefile work:
- separate out test dependencies
- changed zygote with art to work by replacing libdvm with libart[d]
- changed Makefile defines to name and error check their arguments
This was to fix bug in generating ART_TARGET_EXECUTABLES
where we used $(1) when we meant $(3)
Change-Id: I7ef6008eff1fe99b59d151b6793e8fd8ea5304d4
diff --git a/src/mark_sweep.cc b/src/mark_sweep.cc
index 79597ec..6512aef 100644
--- a/src/mark_sweep.cc
+++ b/src/mark_sweep.cc
@@ -269,7 +269,7 @@
} else if (klass->IsPhantomReferenceClass()) {
list = &phantom_reference_list_;
}
- DCHECK(list != NULL);
+ DCHECK(list != NULL) << PrettyClass(klass) << " " << std::hex << klass->GetAccessFlags();
Heap::EnqueuePendingReference(obj, list);
}
}