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

Unified Diff: Source/platform/heap/HeapTest.cpp

Issue 1179763005: Oilpan: Fix compile of GC_PROFILING build, and remove object graph dumper. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add EagerSweepHeap. 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/Heap.cpp ('k') | Source/platform/heap/InlinedGlobalMarkingVisitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/HeapTest.cpp
diff --git a/Source/platform/heap/HeapTest.cpp b/Source/platform/heap/HeapTest.cpp
index f9e68838476560d751bd5429fca06432597186ee..2b7c7bf243e5e9e46495205c16c421f7360469f8 100644
--- a/Source/platform/heap/HeapTest.cpp
+++ b/Source/platform/heap/HeapTest.cpp
@@ -77,11 +77,13 @@ private:
};
static_assert(WTF::NeedsTracing<IntWrapper>::value, "NeedsTracing macro failed to recognize trace method.");
+#if !ENABLE(GC_PROFILING)
struct SameSizeAsPersistent {
void* m_pointer[4];
};
static_assert(sizeof(Persistent<IntWrapper>) <= sizeof(SameSizeAsPersistent), "Persistent handle should stay small");
+#endif
class ThreadMarker {
public:
@@ -299,9 +301,6 @@ public:
virtual bool weakTableRegistered(const void*) override { return false; }
#endif
virtual void registerWeakCellWithCallback(void**, WeakCallback) override { }
-#if ENABLE(GC_PROFILING)
- virtual void recordObjectGraphEdge(const void*) override { }
-#endif
virtual bool ensureMarked(const void* objectPointer) override
{
if (!objectPointer || HeapObjectHeader::fromPayload(objectPointer)->isMarked())
« no previous file with comments | « Source/platform/heap/Heap.cpp ('k') | Source/platform/heap/InlinedGlobalMarkingVisitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698