Merge "ART: Factor out stack dumping with monitor objects"
diff --git a/runtime/gc/collector/concurrent_copying.cc b/runtime/gc/collector/concurrent_copying.cc
index 7beff96..70685bc 100644
--- a/runtime/gc/collector/concurrent_copying.cc
+++ b/runtime/gc/collector/concurrent_copying.cc
@@ -760,7 +760,8 @@
         // Done scanning the object, go back to white.
         bool success = obj->AtomicSetReadBarrierState(ReadBarrier::GrayState(),
                                                       ReadBarrier::WhiteState());
-        CHECK(success);
+        CHECK(success)
+            << Runtime::Current()->GetHeap()->GetVerification()->DumpObjectInfo(obj, "failed CAS");
       }
     } else {
       collector_->ScanImmuneObject(obj);