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

Unified Diff: Source/platform/heap/Heap.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, 7 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 | Source/platform/heap/Heap.cpp » ('j') | Source/platform/heap/ThreadState.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Heap.h
diff --git a/Source/platform/heap/Heap.h b/Source/platform/heap/Heap.h
index 2365632741e4b20576cf2db71237d027adc48395..e659551b04ef9f10ab7afe3e3f02724244d64677 100644
--- a/Source/platform/heap/Heap.h
+++ b/Source/platform/heap/Heap.h
@@ -430,7 +430,6 @@ public:
void markAsUnswept()
{
- ASSERT(m_swept);
m_swept = false;
}
@@ -692,7 +691,7 @@ public:
#endif
virtual void clearFreeLists() { }
- void makeConsistentForSweeping();
+ void makeConsistentForSweeping(ThreadState::GCType);
#if ENABLE(ASSERT)
virtual bool isConsistentForSweeping() = 0;
#endif
@@ -924,7 +923,7 @@ public:
static void globalWeakProcessing(Visitor*);
static void setForcePreciseGCForTesting();
- static void preGC();
+ static void preGC(ThreadState::GCType);
static void postGC(ThreadState::GCType);
// Conservatively checks whether an address is a pointer in any of the
« no previous file with comments | « no previous file | Source/platform/heap/Heap.cpp » ('j') | Source/platform/heap/ThreadState.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698