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

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

Issue 717923005: Profile FreeList Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 11 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/Heap.cpp ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/ThreadState.h
diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h
index 78373388e3890f3d7c7880f34eb4e95a60fcdd89..c03e56645d0c27fb0dae16ca24a50f61b6a578c3 100644
--- a/Source/platform/heap/ThreadState.h
+++ b/Source/platform/heap/ThreadState.h
@@ -466,7 +466,7 @@ public:
// HeapTypeTrait<Type>::index.
ThreadHeap* heap(int index) const { return m_heaps[index]; }
-#if ENABLE(ASSERT)
+#if ENABLE(ASSERT) || ENABLE(GC_PROFILE_MARKING)
// Infrastructure to determine if an address is within one of the
// address ranges for the Blink heap. If the address is in the Blink
// heap the containing heap page is returned.
@@ -497,6 +497,11 @@ public:
static const GCInfo* findGCInfoFromAllThreads(Address);
#endif
+#if ENABLE(GC_PROFILE_FREE_LIST)
+ void snapshotFreeListIfNecessary();
+ void snapshotFreeList();
+#endif
+
#if ENABLE(GC_PROFILE_HEAP)
struct SnapshotInfo {
ThreadState* state;
« no previous file with comments | « Source/platform/heap/Heap.cpp ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698