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

Unified Diff: Source/platform/heap/Visitor.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/heap/ThreadState.cpp ('k') | Source/wtf/InstanceCounter.h » ('j') | 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 5d5971e250579a85b57f21b731a8a7d67bd1d4af..18dc43276dbb1f3b9bc12260b610ee753e83bf80 100644
--- a/Source/platform/heap/Visitor.h
+++ b/Source/platform/heap/Visitor.h
@@ -43,7 +43,7 @@
#include "wtf/RefPtr.h"
#include "wtf/TypeTraits.h"
#include "wtf/WeakPtr.h"
-#if ENABLE(GC_TRACING)
+#if ENABLE(GC_PROFILING)
#include "wtf/text/WTFString.h"
#endif
@@ -89,7 +89,7 @@ struct GCInfo {
FinalizationCallback m_finalize;
bool m_nonTrivialFinalizer;
bool m_hasVTable;
-#if ENABLE(GC_TRACING)
+#if ENABLE(GC_PROFILING)
// |m_className| is held as a reference to prevent dtor being called at exit.
const String& m_className;
#endif
@@ -416,7 +416,7 @@ public:
FOR_EACH_TYPED_HEAP(DECLARE_VISITOR_METHODS)
#undef DECLARE_VISITOR_METHODS
-#if ENABLE(GC_TRACING)
+#if ENABLE(GC_PROFILE_MARKING)
void setHostInfo(void* object, const String& name)
{
m_hostObject = object;
@@ -426,7 +426,7 @@ public:
protected:
virtual void registerWeakCell(void**, WeakPointerCallback) = 0;
-#if ENABLE(GC_TRACING)
+#if ENABLE(GC_PROFILE_MARKING)
void* m_hostObject;
String m_hostName;
#endif
@@ -596,7 +596,7 @@ private:
#define WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(TYPE)
#endif
-#if ENABLE(GC_TRACING)
+#if ENABLE(GC_PROFILING)
template<typename T>
struct TypenameStringTrait {
static const String& get()
@@ -616,7 +616,7 @@ struct GCInfoAtBase {
FinalizerTrait<T>::finalize,
FinalizerTrait<T>::nonTrivialFinalizer,
WTF::IsPolymorphic<T>::value,
-#if ENABLE(GC_TRACING)
+#if ENABLE(GC_PROFILING)
TypenameStringTrait<T>::get()
#endif
};
« no previous file with comments | « Source/platform/heap/ThreadState.cpp ('k') | Source/wtf/InstanceCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698