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

Unified Diff: src/incremental-marking.h

Issue 7302003: Support slots recording for compaction during incremental marking. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 6 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/incremental-marking.h
diff --git a/src/incremental-marking.h b/src/incremental-marking.h
index ff0bae1f7b541ed752e1aec6ccbdfdeb1daf07c9..af109da90f269617750601552761d68e6cafe0a2 100644
--- a/src/incremental-marking.h
+++ b/src/incremental-marking.h
@@ -110,7 +110,11 @@ class IncrementalMarking {
Object* value,
Isolate* isolate);
- inline void RecordWrite(HeapObject* obj, Object* value);
+ static void RecordWriteForEvacuationFromCode(HeapObject* obj,
+ Object** slot,
+ Isolate* isolate);
+
+ inline void RecordWrite(HeapObject* obj, Object** slot, Object* value);
inline void RecordWriteOf(HeapObject* value);
inline void RecordWrites(HeapObject* obj);
@@ -192,6 +196,7 @@ class IncrementalMarking {
Heap* heap_;
State state_;
+ bool is_compacting_;
VirtualMemory* marking_deque_memory_;
MarkingDeque marking_deque_;

Powered by Google App Engine
This is Rietveld 408576698