Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3319)

Unified Diff: src/heap/store-buffer.cc

Issue 2694763002: [heap] Remove debug code in MoveEntriesToRememberedSet. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/store-buffer.cc
diff --git a/src/heap/store-buffer.cc b/src/heap/store-buffer.cc
index 5f21dbd753bc66db42463a4e112ccc40081e3f31..e2fef08bd1f2f0cde777d6516f0d234d8415d3af 100644
--- a/src/heap/store-buffer.cc
+++ b/src/heap/store-buffer.cc
@@ -101,10 +101,6 @@ void StoreBuffer::MoveEntriesToRememberedSet(int index) {
DCHECK_LT(index, kStoreBuffers);
for (Address* current = start_[index]; current < lazy_top_[index];
current++) {
- CHECK(!heap_->code_space()->Contains(*current));
- CHECK(heap_->old_space()->Contains(*current) ||
- heap_->map_space()->Contains(*current) ||
- heap_->lo_space()->ContainsSlow(*current));
Address addr = *current;
Page* page = Page::FromAnyPointerAddress(heap_, addr);
if (IsDeletionAddress(addr)) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698