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

Unified Diff: src/global-handles.h

Issue 1358703003: Changed scavenge GC to collect unmodified references (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Re-implemented scavenge optimization to discard unmodified references Created 5 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/global-handles.h
diff --git a/src/global-handles.h b/src/global-handles.h
index 0ee8c20a375adaea6803c11034686b08d806f9d8..4498cac38fdbb1db1095e5ed643bc7b06b69af53 100644
--- a/src/global-handles.h
+++ b/src/global-handles.h
@@ -220,6 +220,10 @@ class GlobalHandles {
// See the note above.
void IterateNewSpaceWeakIndependentRoots(ObjectVisitor* v);
+ // Identify unmodified objects that are in weak state and marks them partially
+ // independent
+ void IdentifyWeakUnmodifiedObjects(WeakSlotCallback can_skip);
+
// Iterate over objects in object groups that have at least one object
// which requires visiting. The callback has to return true if objects
// can be skipped and false otherwise.
« no previous file with comments | « src/flag-definitions.h ('k') | src/global-handles.cc » ('j') | src/heap/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698