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

Unified Diff: Source/platform/heap/Visitor.h

Issue 1159773004: Oilpan: Implement a GC to take a heap snapshot (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « Source/platform/heap/ThreadState.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Visitor.h
diff --git a/Source/platform/heap/Visitor.h b/Source/platform/heap/Visitor.h
index a84a62a74df3916157a55730edc0043faccf8fbf..f3fd4d3842073a986cee1a0bf27af1d82a789a45 100644
--- a/Source/platform/heap/Visitor.h
+++ b/Source/platform/heap/Visitor.h
@@ -328,8 +328,17 @@ public:
friend class InlinedGlobalMarkingVisitor;
enum MarkingMode {
+ // This is a default visitor. This is used for GCType=GCWithSweep
+ // and GCType=GCWithoutSweep.
GlobalMarking,
+ // This visitor does not trace objects outside the heap of the
+ // GCing thread. This is used for GCType=ThreadTerminationGC.
ThreadLocalMarking,
+ // This visitor just marks objects and ignores weak processing.
+ // This is used for GCType=TakeSnapshot.
+ SnapshotMarking,
+ // This visitor is used to trace objects during weak processing.
+ // This visitor is allowed to trace only already marked objects.
WeakProcessing,
};
« no previous file with comments | « Source/platform/heap/ThreadState.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698