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

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

Issue 1203493004: [tracing] Adding class-wise memory statistics to blink gc memory dumps (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 | « no previous file | Source/platform/heap/Heap.h » ('j') | Source/platform/heap/Heap.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/GCInfo.h
diff --git a/Source/platform/heap/GCInfo.h b/Source/platform/heap/GCInfo.h
index bcade77509418d32c065dd5e63d25ac615f09ec8..a2944e61e4a1a54c253c81b8c0a14769a45c52c8 100644
--- a/Source/platform/heap/GCInfo.h
+++ b/Source/platform/heap/GCInfo.h
@@ -117,10 +117,8 @@ struct GCInfo {
FinalizationCallback m_finalize;
bool m_nonTrivialFinalizer;
bool m_hasVTable;
-#if ENABLE(GC_PROFILING)
// |m_className| is held as a reference to prevent dtor being called at exit.
const String& m_className;
-#endif
};
#if ENABLE(ASSERT)
@@ -170,9 +168,7 @@ struct GCInfoAtBase {
FinalizerTrait<T>::finalize,
FinalizerTrait<T>::nonTrivialFinalizer,
WTF::IsPolymorphic<T>::value,
-#if ENABLE(GC_PROFILING)
TypenameStringTrait<T>::get()
-#endif
};
RETURN_GCINFO_INDEX();
}
« no previous file with comments | « no previous file | Source/platform/heap/Heap.h » ('j') | Source/platform/heap/Heap.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698