Merge "Remove stale comments and kDebugLocking check" into dalvik-dev
diff --git a/runtime/gc/collector/mark_sweep.cc b/runtime/gc/collector/mark_sweep.cc
index 279796f..79a571b 100644
--- a/runtime/gc/collector/mark_sweep.cc
+++ b/runtime/gc/collector/mark_sweep.cc
@@ -402,9 +402,7 @@
++large_object_test_;
}
if (UNLIKELY(!large_objects->Test(obj))) {
- // TODO: mark may be called holding the JNI global references lock, Contains will hold the
- // large object space lock causing a lock level violation. Bug: 9414652;
- if (!kDebugLocking && !large_object_space->Contains(obj)) {
+ if (!large_object_space->Contains(obj)) {
LOG(ERROR) << "Tried to mark " << obj << " not contained by any spaces";
LOG(ERROR) << "Attempting see if it's a bad root";
VerifyRoots();