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

Unified Diff: third_party/WebKit/Source/wtf/Partitions.h

Issue 1366203002: Add dump name for tracing in PartitionAlloc for sub-allocations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@web_cache
Patch Set: Just adding pool name. 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: third_party/WebKit/Source/wtf/Partitions.h
diff --git a/third_party/WebKit/Source/wtf/Partitions.h b/third_party/WebKit/Source/wtf/Partitions.h
index 276380472bd64b9e5beed85d8c9c172309b45d2d..9db0be8bc8e7d982e3eb501689984c9948688c55 100644
--- a/third_party/WebKit/Source/wtf/Partitions.h
+++ b/third_party/WebKit/Source/wtf/Partitions.h
@@ -39,6 +39,10 @@ namespace WTF {
class WTF_EXPORT Partitions {
public:
+ // Name of allocator used by tracing for marking sub-allocations while take
+ // memory snapshots.
+ static const char* const kAllocatedObjectPoolName;
+
static void initialize();
// TODO(bashi): Remove this function and make initialize() take
// HistogramEnumerationFunction when we can make sure that WTF::initialize()

Powered by Google App Engine
This is Rietveld 408576698