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

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

Issue 1302183010: Oilpan: Add a compile-time flag: DETAILED_MEMORY_INFRA (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
Index: Source/platform/heap/ThreadState.cpp
diff --git a/Source/platform/heap/ThreadState.cpp b/Source/platform/heap/ThreadState.cpp
index 74f82581ba3b4195684f071eb3ccf48abed9c8cb..d33a115b4e2878d09b0e660b6137b1e25010cbc7 100644
--- a/Source/platform/heap/ThreadState.cpp
+++ b/Source/platform/heap/ThreadState.cpp
@@ -1494,7 +1494,7 @@ void ThreadState::takeSnapshot(SnapshotType type)
size_t totalDeadSize = 0;
for (size_t gcInfoIndex = 1; gcInfoIndex <= GCInfoTable::gcInfoIndex(); ++gcInfoIndex) {
String dumpName = classesDumpName + String::format("/%lu_", static_cast<unsigned long>(gcInfoIndex));
-#if ENABLE(GC_PROFILING)
+#if ENABLE(DETAILED_MEMORY_INFRA)
dumpName.append(Heap::gcInfo(gcInfoIndex)->className());
#endif
WebMemoryAllocatorDump* classDump = BlinkGCMemoryDumpProvider::instance()->createMemoryAllocatorDumpForCurrentGC(dumpName);

Powered by Google App Engine
This is Rietveld 408576698