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

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

Issue 383743002: Oilpan: GC profiling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: TracedValue update Created 6 years, 4 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/TraceEvent.h ('k') | Source/platform/heap/Heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Handle.h
diff --git a/Source/platform/heap/Handle.h b/Source/platform/heap/Handle.h
index c8acb9a5f99ac556d239119b3821dbf553d8ba90..217af5d91095ec9e104d7a486d8cae5f21140190 100644
--- a/Source/platform/heap/Handle.h
+++ b/Source/platform/heap/Handle.h
@@ -366,7 +366,7 @@ public:
void trace(Visitor* visitor)
{
COMPILE_ASSERT_IS_GARBAGE_COLLECTED(T, NonGarbageCollectedObjectInPersistent);
-#if ENABLE(GC_TRACING)
+#if ENABLE(GC_PROFILE_MARKING)
visitor->setHostInfo(this, m_tracingName.isEmpty() ? "Persistent" : m_tracingName);
#endif
visitor->mark(m_raw);
@@ -422,7 +422,7 @@ public:
T* get() const { return m_raw; }
private:
-#if ENABLE(GC_TRACING)
+#if ENABLE(GC_PROFILE_MARKING)
void recordBacktrace()
{
if (m_raw)
@@ -467,7 +467,7 @@ public:
void trace(Visitor* visitor)
{
-#if ENABLE(GC_TRACING)
+#if ENABLE(GC_PROFILE_MARKING)
visitor->setHostInfo(this, "PersistentHeapCollectionBase");
#endif
visitor->trace(*static_cast<Collection*>(this));
« no previous file with comments | « Source/platform/TraceEvent.h ('k') | Source/platform/heap/Heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698