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

Unified Diff: src/incremental-marking.h

Issue 6928010: Make the marking stack into a deque (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 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 | « src/heap.cc ('k') | src/incremental-marking.cc » ('j') | src/mark-compact.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/incremental-marking.h
===================================================================
--- src/incremental-marking.h (revision 7781)
+++ src/incremental-marking.h (working copy)
@@ -67,7 +67,7 @@
void PrepareForScavenge();
- void UpdateMarkingStackAfterScavenge();
+ void UpdateMarkingDequeAfterScavenge();
void Hurry();
@@ -138,7 +138,7 @@
return mark_bit.Get() && mark_bit.Next().Get();
}
- inline void BlackToGreyAndPush(HeapObject* obj, MarkBit mark_bit);
+ inline void BlackToGreyAndUnshift(HeapObject* obj, MarkBit mark_bit);
inline void WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit);
@@ -199,7 +199,7 @@
Heap* heap_;
State state_;
- MarkingStack marking_stack_;
+ MarkingDeque marking_deque_;
int steps_count_;
double steps_took_;
« no previous file with comments | « src/heap.cc ('k') | src/incremental-marking.cc » ('j') | src/mark-compact.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698