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

Unified Diff: src/frames.cc

Issue 1271773002: Reland of land concurrent sweeping of code space. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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 | src/heap/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/frames.cc
diff --git a/src/frames.cc b/src/frames.cc
index 5f51dec2882cab9c473032d47c15bfce5d711105..ebe0cb121c34d0eec9a2f11272bdb9ddef53bf3d 100644
--- a/src/frames.cc
+++ b/src/frames.cc
@@ -1446,6 +1446,9 @@
// after the inner pointer.
Page* page = Page::FromAddress(inner_pointer);
+ DCHECK_EQ(page->owner(), heap->code_space());
+ heap->mark_compact_collector()->SweepOrWaitUntilSweepingCompleted(page);
+
Address addr = page->skip_list()->StartFor(inner_pointer);
Address top = heap->code_space()->top();
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698