Index: src/spaces.cc |
diff --git a/src/spaces.cc b/src/spaces.cc |
index eeb7ea81d1fb387a87d5a335c78cb01ce6ff1986..b1258d590dd9855015d516e8d4c63b9784114c44 100644 |
--- a/src/spaces.cc |
+++ b/src/spaces.cc |
@@ -1138,10 +1138,7 @@ void PagedSpace::ReleasePage(Page* page, bool unlink) { |
DecreaseUnsweptFreeBytes(page); |
} |
- // TODO(hpayer): This check is just used for debugging purpose and |
- // should be removed or turned into an assert after investigating the |
- // crash in concurrent sweeping. |
- CHECK(!free_list_.ContainsPageFreeListItems(page)); |
+ ASSERT(!free_list_.ContainsPageFreeListItems(page)); |
if (Page::FromAllocationTop(allocation_info_.top()) == page) { |
allocation_info_.set_top(NULL); |