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

Unified Diff: tools/deep_memory_profiler/policy.android.renderer.json

Issue 18710003: Android / dmprof: explodes policies for shared areas. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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.android.renderer.json
diff --git a/tools/deep_memory_profiler/policy.android.renderer.json b/tools/deep_memory_profiler/policy.android.renderer.json
index dc1e3b5e9fc8c41a78ea1d3adeb4f76bfe8f503c..c0088819d510ff45bc92f989eeeb8f012645830e 100644
--- a/tools/deep_memory_profiler/policy.android.renderer.json
+++ b/tools/deep_memory_profiler/policy.android.renderer.json
@@ -12,14 +12,18 @@
"unhooked-ashmem-dalvik-aux-structure",
"unhooked-ashmem-dalvik-bitmap",
"unhooked-ashmem-dalvik-other",
- "unhooked-pvrsrvkm",
+ "unhooked-pvrsrvkm-private",
+ "unhooked-pvrsrvkm-chrome",
+ "unhooked-pvrsrvkm-others",
"unhooked-system-dex",
"unhooked-chrome-dex",
"unhooked-other-ashmem",
"unhooked-anonymous",
- "unhooked-file-exec-lib-chrome",
+ "unhooked-file-exec-lib-chrome-shared",
+ "unhooked-file-exec-lib-chrome-private",
"unhooked-file-exec",
- "unhooked-file-nonexec-lib-chrome",
+ "unhooked-file-nonexec-lib-chrome-shared",
+ "unhooked-file-nonexec-lib-chrome-private",
"unhooked-file-nonexec",
"unhooked-stack",
"unhooked-other",
@@ -147,9 +151,22 @@
"allocator": "unhooked"
},
{
- "name": "unhooked-pvrsrvkm",
+ "name": "unhooked-pvrsrvkm-private",
"mappedpathname": "/dev/pvrsrvkm.*",
- "allocator": "unhooked"
+ "allocator": "unhooked",
+ "sharedwith": ["private"]
+ },
+ {
+ "name": "unhooked-pvrsrvkm-others",
+ "mappedpathname": "/dev/pvrsrvkm.*",
+ "allocator": "unhooked",
+ "sharedwith": ["others"]
+ },
+ {
+ "name": "unhooked-pvrsrvkm-chrome",
+ "mappedpathname": "/dev/pvrsrvkm.*",
+ "allocator": "unhooked",
+ "sharedwith": ["group"]
},
{
"name": "unhooked-system-dex",
@@ -172,10 +189,18 @@
"allocator": "unhooked"
},
{
- "name": "unhooked-file-exec-lib-chrome",
+ "name": "unhooked-file-exec-lib-chrome-shared",
"mappedpathname": "^/.*?(chromeview|content).*",
"mappedpermission": "..x.",
- "allocator": "unhooked"
+ "allocator": "unhooked",
+ "sharedwith": ["group", "others"]
+ },
+ {
+ "name": "unhooked-file-exec-lib-chrome-private",
+ "mappedpathname": "^/.*?(chromeview|content).*",
+ "mappedpermission": "..x.",
+ "allocator": "unhooked",
+ "sharedwith": ["private"]
},
{
"name": "unhooked-file-exec",
@@ -184,9 +209,16 @@
"allocator": "unhooked"
},
{
- "name": "unhooked-file-nonexec-lib-chrome",
+ "name": "unhooked-file-nonexec-lib-chrome-shared",
"mappedpathname": "^/.*?(chromeview|content).*",
- "allocator": "unhooked"
+ "allocator": "unhooked",
+ "sharedwith": ["group", "others"]
+ },
+ {
+ "name": "unhooked-file-nonexec-lib-chrome-private",
+ "mappedpathname": "^/.*?(chromeview|content).*",
+ "allocator": "unhooked",
+ "sharedwith": ["private"]
},
{
"name": "unhooked-file-nonexec",

Powered by Google App Engine
This is Rietveld 408576698