Merge "Assert that the mark stack is empty when destroyed." into dalvik-dev
diff --git a/src/mark_stack.cc b/src/mark_stack.cc
index b61597b..707b98b 100644
--- a/src/mark_stack.cc
+++ b/src/mark_stack.cc
@@ -36,6 +36,8 @@
   }
 }
 
-MarkStack::~MarkStack() {}
+MarkStack::~MarkStack() {
+  CHECK(IsEmpty());
+}
 
 }  // namespace art