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

Unified Diff: src/heap.h

Issue 227533006: Synchronize store buffer processing and concurrent sweeping. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | src/heap.cc » ('j') | src/store-buffer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.h
diff --git a/src/heap.h b/src/heap.h
index 758213719c3792678e8b2f89446ef6d34c53e5b9..1ac80d32563a8e72972ffd231ef8f08c8e5df142 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -1474,7 +1474,13 @@ class Heap {
// ensure the precondition that the object is (a) a heap object and (b) in
// the heap's from space.
static inline void ScavengePointer(HeapObject** p);
- static inline void ScavengeObject(HeapObject** p, HeapObject* object);
+
+ // p is the slot pointing to the object in new space
+ // object ist the object in new space
+ // old_object is not used in the ScavengeObject callback
+ static inline void ScavengeObject(HeapObject** p,
+ HeapObject* object,
+ Object* old_object = NULL);
enum ScratchpadSlotMode {
IGNORE_SCRATCHPAD_SLOT,
« no previous file with comments | « no previous file | src/heap.cc » ('j') | src/store-buffer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698