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

Unified Diff: runtime/vm/gc_marker.cc

Issue 10232003: - Improve marking performance by pre-marking RawInstructions objects, (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/gc_marker.cc
===================================================================
--- runtime/vm/gc_marker.cc (revision 6988)
+++ runtime/vm/gc_marker.cc (working copy)
@@ -170,12 +170,7 @@
return;
}
// TODO(iposva): merge old and code spaces.
- ASSERT(heap_->Contains(raw_addr));
- if (!page_space_->Contains(raw_addr)) {
- // TODO(iposva): Skip code space if marking data space and vice-versa.
- return;
- }
-
+ ASSERT(page_space_->Contains(raw_addr));
MarkAndPush(raw_obj);
}
« no previous file with comments | « no previous file | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698