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

Unified Diff: tools/deep_memory_profiler/policy.t0.json

Issue 10825075: Classify memory usage by allocated type in Deep Memory Profiler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: refactored. Created 8 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
Index: tools/deep_memory_profiler/policy.t0.json
diff --git a/tools/deep_memory_profiler/policy.l1.json b/tools/deep_memory_profiler/policy.t0.json
similarity index 77%
copy from tools/deep_memory_profiler/policy.l1.json
copy to tools/deep_memory_profiler/policy.t0.json
index f300b90677c1dd777733ffd2d66e3653486a5ca5..c855582f12298ad70dd7fc48806fd4046666d362 100644
--- a/tools/deep_memory_profiler/policy.l1.json
+++ b/tools/deep_memory_profiler/policy.t0.json
@@ -13,16 +13,15 @@
"nonprofiled-stack",
"nonprofiled-other",
"no-bucket",
- "mmap-v8-heap-newspace",
- "mmap-v8-heap-coderange",
- "mmap-v8-heap-pagedspace",
- "mmap-v8-other",
+ "mmap-v8",
"mmap-catch-all",
- "tc-v8",
- "tc-skia",
- "tc-webkit-catch-all",
- "tc-unknown-string",
- "tc-catch-all",
+ "tc-std-string",
+ "tc-WTF-string",
+ "tc-WTF-element",
+ "tc-WebCore-XHR",
+ "tc-std-pair",
+ "tc-no-type",
+ "tc-used-other",
"tc-unused",
"UNTIL_HERE_FOR_TOTAL",
"total-exclude-profiler",
@@ -103,53 +102,55 @@
"allocator": "optional"
},
{
- "name": "mmap-v8-heap-newspace",
- "stacktrace": ".*v8::internal::NewSpace::SetUp.*",
- "allocator": "mmap"
- },
- {
- "name": "mmap-v8-heap-coderange",
- "stacktrace": ".*v8::internal::CodeRange::SetUp.*",
+ "name": "mmap-v8",
+ "stacktrace": ".*v8::.*",
"allocator": "mmap"
},
{
- "name": "mmap-v8-heap-pagedspace",
- "stacktrace": ".*v8::internal::PagedSpace::AllocateRaw.*",
+ "name": "mmap-catch-all",
+ "stacktrace": ".*",
"allocator": "mmap"
},
{
- "name": "mmap-v8-other",
- "stacktrace": ".*v8::.*",
- "allocator": "mmap"
+ "name": "tc-std-string",
+ "stacktrace": ".*",
+ "typeinfo": "std::basic_string.*",
+ "allocator": "malloc"
},
{
- "name": "mmap-catch-all",
+ "name": "tc-WTF-string",
"stacktrace": ".*",
- "allocator": "mmap"
+ "typeinfo": "(WTF::StringImpl|WTF::CStringBuffer|WTF::AtomicString|WTF::String).*",
+ "allocator": "malloc"
},
{
- "name": "tc-v8",
- "stacktrace": ".*v8::.*",
+ "name": "tc-WTF-element",
+ "stacktrace": ".*",
+ "typeinfo": "WTF::HTML.*Element",
"allocator": "malloc"
},
{
- "name": "tc-skia",
- "stacktrace": ".*Sk[A-Za-z_]+::.*",
+ "name": "tc-WebCore-XHR",
+ "stacktrace": ".*",
+ "typeinfo": "WebCore::XMLHttpRequest.*",
"allocator": "malloc"
},
{
- "name": "tc-webkit-catch-all",
- "stacktrace": ".*(WTF::|WebCore::|WebKit::).*",
+ "name": "tc-std-pair",
+ "stacktrace": ".*",
+ "typeinfo": "std::pair.*",
"allocator": "malloc"
},
{
- "name": "tc-unknown-string",
- "stacktrace": ".*std::basic_string::_Rep::_S_create.*",
+ "name": "tc-no-type",
+ "stacktrace": ".*",
+ "typeinfo": "no typeinfo",
"allocator": "malloc"
},
{
- "name": "tc-catch-all",
+ "name": "tc-used-other",
"stacktrace": ".*",
+ "typeinfo": ".*",
"allocator": "malloc"
},
{
@@ -193,5 +194,5 @@
"allocator": "optional"
}
],
- "version": "POLICY_DEEP_3"
+ "version": "POLICY_DEEP_4"
}

Powered by Google App Engine
This is Rietveld 408576698