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

Unified Diff: src/incremental-marking.cc

Issue 8528030: We might decide to start incremental marking immediately after finishing one cycle. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 1 month 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/incremental-marking.cc
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc
index bd0f0837b0bd5860d91d38fb8c890622db86bb02..0f29f73f5e585027b88650456e4d1f09e9da1117 100644
--- a/src/incremental-marking.cc
+++ b/src/incremental-marking.cc
@@ -453,8 +453,7 @@ void IncrementalMarking::EnsureMarkingDequeIsCommitted() {
}
void IncrementalMarking::UncommitMarkingDeque() {
- ASSERT(state_ == STOPPED);
- if (marking_deque_memory_committed_) {
+ if (state_ == STOPPED && marking_deque_memory_committed_) {
bool success = marking_deque_memory_->Uncommit(
reinterpret_cast<Address>(marking_deque_memory_->address()),
marking_deque_memory_->size());
« 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