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

Unified Diff: src/heap.h

Issue 10837037: Age code to allow reclaiming old unexecuted functions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Cleanup code Created 8 years, 3 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
Index: src/heap.h
diff --git a/src/heap.h b/src/heap.h
index 90d0797454558d2ce676fa75e4a84db0a8d7a5be..86a9dc6e7da668974881cff80b16647283e9a490 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -1546,6 +1546,10 @@ class Heap {
old_pointer_space()->IsSweepingComplete();
}
+ MarkingParity marking_parity() {
Michael Starzinger 2012/09/21 09:43:19 We shouldn't expose the current parity through the
danno 2012/10/25 10:07:23 Done.
+ return mark_compact_collector_.marking_parity();
+ }
+
bool AdvanceSweepers(int step_size) {
bool sweeping_complete = old_data_space()->AdvanceSweeper(step_size);
sweeping_complete &= old_pointer_space()->AdvanceSweeper(step_size);

Powered by Google App Engine
This is Rietveld 408576698