Add ICU message format support
[chromium-blink-merge.git] / tools / deep_memory_profiler / policy.l2.json
blobd8b7bb1c0ae130ddea6397af462da6f6a58624ec
2   "components": [
3     "second",
4     "mmap-profiler",
5     "mmap-type-profiler",
6     "mmap-tcmalloc",
7     "FROM_HERE_FOR_TOTAL",
8     "mustbezero",
9     "unhooked-absent",
10     "unhooked-anonymous",
11     "unhooked-file-exec",
12     "unhooked-file-nonexec-others",
13     "unhooked-file-nonexec-group",
14     "unhooked-file-nonexec",
15     "unhooked-stack",
16     "unhooked-other",
17     "no-bucket",
18     "mmap-v8-heap-newspace",
19     "mmap-v8-heap-coderange",
20     "mmap-v8-heap-pagedspace",
21     "mmap-v8-other",
22     "mmap-gpu-mappedmemorymanager",
23     "mmap-gpu-command-ringbuffer",
24     "mmap-gpu-transfer-ringbuffer",
25     "mmap-gpu-gles2-createbuffer",
26     "mmap-skia-font",
27     "mmap-partition-alloc",
28     "mmap-catch-all",
29     "tc-webcore-cachedmatchedproperties",
30     "tc-webcore-fontcache",
31     "tc-skia",
32     "tc-renderstyle",
33     "tc-webcore-sharedbuf",
34     "tc-webcore-XHRcreate",
35     "tc-webcore-XHRreceived",
36     "tc-webcore-docwriter-add",
37     "tc-webcore-node-and-doc",
38     "tc-webcore-node-factory",
39     "tc-webcore-element-wrapper",
40     "tc-webcore-stylepropertyset",
41     "tc-webcore-style-createsheet",
42     "tc-webcore-resource",
43     "tc-webcore-script-execute",
44     "tc-webcore-events-related",
45     "tc-webcore-document-write",
46     "tc-webcore-element-create-renderer",
47     "tc-webcore-render-catch-all",
48     "tc-webcore-setInnerHTML-except-node",
49     "tc-wtf-StringImpl-user-catch-all",
50     "tc-wtf-HashTable-user-catch-all",
51     "tc-webcore-everything-create",
52     "tc-webkit-from-v8-catch-all",
53     "tc-webkit-catch-all",
54     "tc-v8-catch-all",
55     "tc-toplevel-string",
56     "tc-std-treemap",
57     "tc-std-hashmap",
58     "tc-std-vector",
59     "tc-std-other",
60     "tc-catch-all",
61     "tc-unused",
62     "UNTIL_HERE_FOR_TOTAL",
63     "total-exclude-profiler",
64     "total",
65     "absent",
66     "anonymous",
67     "file-exec",
68     "file-nonexec",
69     "stack",
70     "other",
71     "mmap-total-log",
72     "mmap-no-log",
73     "mmap-total-record",
74     "other-total-log",
75     "tc-total-log",
76     "tc-no-log",
77     "tc-total-record",
78     "tc-total"
79   ],
80   "rules": [
81     {
82       "name": "second",
83       "stacktrace": "optional",
84       "allocator": "optional"
85     },
86     {
87       "name": "mmap-profiler",
88       "stacktrace": ".*(ProfilerMalloc|MemoryRegionMap::).*",
89       "allocator": "mmap"
90     },
91     {
92       "name": "mmap-type-profiler",
93       "stacktrace": ".*(TypeProfilerMalloc).*",
94       "allocator": "mmap"
95     },
96     {
97       "name": "mmap-tcmalloc",
98       "stacktrace": ".*(DoAllocWithArena|SbrkSysAllocator::Alloc|MmapSysAllocator::Alloc|LowLevelAlloc::Alloc|LowLevelAlloc::AllocWithArena).*",
99       "allocator": "mmap"
100     },
101     {
102       "name": "FROM_HERE_FOR_TOTAL",
103       "stacktrace": "optional",
104       "allocator": "optional"
105     },
106     {
107       "name": "mustbezero",
108       "stacktrace": "optional",
109       "allocator": "optional"
110     },
111     {
112       "name": "unhooked-absent",
113       "stacktrace": "optional",
114       "allocator": "optional"
115     },
116     {
117       "name": "unhooked-anonymous",
118       "mappedpathname": "^$",
119       "allocator": "unhooked"
120     },
121     {
122       "name": "unhooked-file-exec",
123       "mappedpathname": "^/.*",
124       "mappedpermission": "..x.",
125       "allocator": "unhooked"
126     },
127     {
128       "name": "unhooked-file-nonexec-others",
129       "mappedpathname": "^/.*",
130       "allocator": "unhooked",
131       "sharedwith": ["others"]
132     },
133     {
134       "name": "unhooked-file-nonexec-group",
135       "mappedpathname": "^/.*",
136       "allocator": "unhooked",
137       "sharedwith": ["group"]
138     },
139     {
140       "name": "unhooked-file-nonexec",
141       "mappedpathname": "^/.*",
142       "allocator": "unhooked"
143     },
144     {
145       "name": "unhooked-stack",
146       "mappedpathname": ".stack.",
147       "allocator": "unhooked"
148     },
149     {
150       "name": "unhooked-other",
151       "mappedpathname": ".*",
152       "allocator": "unhooked"
153     },
154     {
155       "name": "mmap-v8-heap-newspace",
156       "stacktrace": ".*v8::internal::NewSpace::SetUp.*",
157       "allocator": "mmap"
158     },
159     {
160       "name": "mmap-v8-heap-coderange",
161       "stacktrace": ".*v8::internal::CodeRange::SetUp.*",
162       "allocator": "mmap"
163     },
164     {
165       "name": "mmap-v8-heap-pagedspace",
166       "stacktrace": ".*v8::internal::PagedSpace::AllocateRaw.*",
167       "allocator": "mmap"
168     },
169     {
170       "name": "mmap-v8-other",
171       "stacktrace": ".*v8::.*",
172       "allocator": "mmap"
173     },
174     {
175       "name": "mmap-gpu-mappedmemorymanager",
176       "stacktrace": ".*gpu::MappedMemoryManager::Alloc.*",
177       "allocator": "mmap"
178     },
179     {
180       "name": "mmap-gpu-command-ringbuffer",
181       "stacktrace": ".*gpu::CommandBufferHelper::AllocateRingBuffer.*",
182       "allocator": "mmap"
183     },
184     {
185       "name": "mmap-gpu-transfer-ringbuffer",
186       "stacktrace": ".*gpu::TransferBuffer::AllocateRingBuffer.*",
187       "allocator": "mmap"
188     },
189     {
190       "name": "mmap-gpu-gles2-createbuffer",
191       "stacktrace": ".*gpu::gles2::BufferTracker::CreateBuffer.*",
192       "allocator": "mmap"
193     },
194     {
195       "name": "mmap-skia-font",
196       "stacktrace": ".*SkTypeface::openStream.*",
197       "allocator": "mmap"
198     },
199     {
200       "name": "mmap-partition-alloc",
201       "stacktrace": ".*WTF::partitionAllocSlowPath.*",
202       "allocator": "mmap"
203     },
204     {
205       "name": "mmap-catch-all",
206       "stacktrace": ".*",
207       "allocator": "mmap"
208     },
209     {
210       "name": "tc-webcore-cachedmatchedproperties",
211       "stacktrace": ".*(WebCore|blink)::CachedMatchedProperties::(set|add).*",
212       "allocator": "malloc"
213     },
214     {
215       "name": "tc-webcore-fontcache",
216       "stacktrace": ".*(WebCore|blink)::FontCache::getFontData.*",
217       "allocator": "malloc"
218     },
219     {
220       "name": "tc-skia",
221       "stacktrace": ".* Sk[A-Za-z_]+::.*",
222       "allocator": "malloc"
223     },
224     {
225       "name": "tc-renderstyle",
226       "stacktrace": ".*(WebCore|blink)::RenderStyle::create.*",
227       "allocator": "malloc"
228     },
229     {
230       "name": "tc-renderstyle",
231       "stacktrace": ".*(WebCore|blink)::RenderStyle::clone.*",
232       "allocator": "malloc"
233     },
234     {
235       "name": "tc-webcore-sharedbuf",
236       "stacktrace": ".*(WebCore|blink)::SharedBuffer::create.*",
237       "allocator": "malloc"
238     },
239     {
240       "name": "tc-webcore-sharedbuf",
241       "stacktrace": ".*(WebCore|blink)::SharedBuffer::buffer.*",
242       "allocator": "malloc"
243     },
244     {
245       "name": "tc-webcore-sharedbuf",
246       "stacktrace": ".*(WebCore|blink)::SharedBuffer::append.*",
247       "allocator": "malloc"
248     },
249     {
250       "name": "tc-webcore-XHRcreate",
251       "stacktrace": ".*(WebCore|blink)::XMLHttpRequest::create .*",
252       "allocator": "malloc"
253     },
254     {
255       "name": "tc-webcore-XHRreceived",
256       "stacktrace": ".*(WebCore|blink)::XMLHttpRequest::didReceiveData.*",
257       "allocator": "malloc"
258     },
259     {
260       "name": "tc-webcore-docwriter-add",
261       "stacktrace": ".*(WebCore|blink)::DocumentWriter::addData.*",
262       "allocator": "malloc"
263     },
264     {
265       "name": "tc-webcore-node-and-doc",
266       "stacktrace": ".*(WebCore|blink)::HTML[a-zA-Z0-9_]*Element::create .*",
267       "allocator": "malloc"
268     },
269     {
270       "name": "tc-webcore-node-and-doc",
271       "stacktrace": ".*(WebCore|blink)::Text::create .*",
272       "allocator": "malloc"
273     },
274     {
275       "name": "tc-webcore-node-and-doc",
276       "stacktrace": ".*(WebCore|blink)::Comment::create .*",
277       "allocator": "malloc"
278     },
279     {
280       "name": "tc-webcore-node-and-doc",
281       "stacktrace": ".*(WebCore|blink)::HTMLDocument::create .*",
282       "allocator": "malloc"
283     },
284     {
285       "name": "tc-webcore-node-and-doc",
286       "stacktrace": ".*(WebCore|blink)::CSSStyleRule::create .*",
287       "allocator": "malloc"
288     },
289     {
290       "name": "tc-webcore-node-and-doc",
291       "stacktrace": ".*(WebCore|blink)::Attribute::create .*",
292       "allocator": "malloc"
293     },
294     {
295       "name": "tc-webcore-node-and-doc",
296       "stacktrace": ".*(WebCore|blink)::DOMWindow::create .*",
297       "allocator": "malloc"
298     },
299     {
300       "name": "tc-webcore-node-factory",
301       "stacktrace": ".*(WebCore|blink)::HTML[a-zA-Z0-9_]*Factory::create[a-zA-Z0-9_]*Element.*",
302       "allocator": "malloc"
303     },
304     {
305       "name": "tc-webcore-element-wrapper",
306       "stacktrace": ".*(WebCore|blink)::createHTML[a-zA-Z0-9_]*ElementWrapper.*",
307       "allocator": "malloc"
308     },
309     {
310       "name": "tc-webcore-stylepropertyset",
311       "stacktrace": ".*(WebCore|blink)::ImmutableStylePropertySet::create .*",
312       "allocator": "malloc"
313     },
314     {
315       "name": "tc-webcore-stylepropertyset",
316       "stacktrace": ".*(WebCore|blink)::MutableStylePropertySet::create .*",
317       "allocator": "malloc"
318     },
319     {
320       "name": "tc-webcore-style-createsheet",
321       "stacktrace": ".*(WebCore|blink)::StyleElement::createSheet.*",
322       "allocator": "malloc"
323     },
324     {
325       "name": "tc-webcore-resource",
326       "stacktrace": ".*(WebCore|blink)::ResourceFetcher::requestResource .*",
327       "allocator": "malloc"
328     },
329     {
330       "name": "tc-webcore-script-execute",
331       "stacktrace": ".*(WebCore|blink)::ScriptLoader::execute.*",
332       "allocator": "malloc"
333     },
334     {
335       "name": "tc-webcore-events-related",
336       "stacktrace": ".*(WebCore|blink)::createAttributeEventListener.*",
337       "allocator": "malloc"
338     },
339     {
340       "name": "tc-webcore-events-related",
341       "stacktrace": ".*(WebCore|blink)::V8LazyEventListener::create.*",
342       "allocator": "malloc"
343     },
344     {
345       "name": "tc-webcore-events-related",
346       "stacktrace": ".*(WebCore|blink)::V8EventListener::create.*",
347       "allocator": "malloc"
348     },
349     {
350       "name": "tc-webcore-events-related",
351       "stacktrace": ".*(WebCore|blink)::Event::create .*",
352       "allocator": "malloc"
353     },
354     {
355       "name": "tc-webcore-events-related",
356       "stacktrace": ".*(WebCore|blink)::EventListener::create .*",
357       "allocator": "malloc"
358     },
359     {
360       "name": "tc-webcore-document-write",
361       "stacktrace": ".*(WebCore|blink)::Document::write.*",
362       "allocator": "malloc"
363     },
364     {
365       "name": "tc-webcore-element-create-renderer",
366       "stacktrace": ".*(WebCore|blink)::[a-zA-Z0-9_]*Element::createRenderer .*",
367       "allocator": "malloc"
368     },
369     {
370       "name": "tc-webcore-render-catch-all",
371       "stacktrace": ".*(WebCore|blink)::RenderLayer.*",
372       "allocator": "malloc"
373     },
374     {
375       "name": "tc-webcore-render-catch-all",
376       "stacktrace": ".*(WebCore|blink)::RenderBlock.*",
377       "allocator": "malloc"
378     },
379     {
380       "name": "tc-webcore-render-catch-all",
381       "stacktrace": ".*(WebCore|blink)::RenderWidget.*",
382       "allocator": "malloc"
383     },
384     {
385       "name": "tc-webcore-render-catch-all",
386       "stacktrace": ".*(WebCore|blink)::RenderView.*",
387       "allocator": "malloc"
388     },
389     {
390       "name": "tc-webcore-render-catch-all",
391       "stacktrace": ".*(WebCore|blink)::RenderViewImpl.*",
392       "allocator": "malloc"
393     },
394     {
395       "name": "tc-webcore-render-catch-all",
396       "stacktrace": ".*(WebCore|blink)::RenderStyle.*",
397       "allocator": "malloc"
398     },
399     {
400       "name": "tc-webcore-render-catch-all",
401       "stacktrace": ".*(WebCore|blink)::RenderText.*",
402       "allocator": "malloc"
403     },
404     {
405       "name": "tc-webcore-render-catch-all",
406       "stacktrace": ".* RendererMain .*",
407       "allocator": "malloc"
408     },
409     {
410       "name": "tc-webcore-setInnerHTML-except-node",
411       "stacktrace": ".*(WebCore|blink)::Element::setInnerHTML.*",
412       "allocator": "malloc"
413     },
414     {
415       "name": "tc-wtf-StringImpl-user-catch-all",
416       "stacktrace": ".*WTF::StringImpl::create .*",
417       "allocator": "malloc"
418     },
419     {
420       "name": "tc-wtf-StringImpl-user-catch-all",
421       "stacktrace": ".*WTF::StringImpl::createUninitialized.*",
422       "allocator": "malloc"
423     },
424     {
425       "name": "tc-wtf-HashTable-user-catch-all",
426       "stacktrace": ".*WTF::HashTable::allocateTable.*",
427       "allocator": "malloc"
428     },
429     {
430       "name": "tc-webcore-everything-create",
431       "stacktrace": ".*(WebCore|blink)::[a-zA-Z0-9_]*::create .*",
432       "allocator": "malloc"
433     },
434     {
435       "name": "tc-webkit-from-v8-catch-all",
436       "stacktrace": ".*(WTF::|WebCore::|blink::|WebKit::).*v8::.*",
437       "allocator": "malloc"
438     },
439     {
440       "name": "tc-webkit-catch-all",
441       "stacktrace": ".*(WTF::|WebCore::|blink::|WebKit::).*",
442       "allocator": "malloc"
443     },
444     {
445       "name": "tc-v8-catch-all",
446       "stacktrace": ".*v8::.*",
447       "allocator": "malloc"
448     },
449     {
450       "name": "tc-toplevel-string",
451       "stacktrace": ".*::allocate std::basic_string::_Rep::_S_create.*",
452       "allocator": "malloc"
453     },
454     {
455       "name": "tc-std-treemap",
456       "stacktrace": ".*::allocate std::(_Rb_tree|__1::__tree).*",
457       "allocator": "malloc"
458     },
459     {
460       "name": "tc-std-hashmap",
461       "stacktrace": ".*(std::vector::reserve __gnu_cxx::hashtable|::allocate std::_Hashtable|::allocate std::__1::__hash_table).*",
462       "allocator": "malloc"
463     },
464     {
465       "name": "tc-std-vector",
466       "stacktrace": ".*std::(_Vector_base::_M_allocate|__1::vector::allocate).*",
467       "allocator": "malloc"
468     },
469     {
470       "name": "tc-std-other",
471       "stacktrace": ".*(__gnu_cxx::new_allocator::allocate|std::__1::allocator::allocate).*",
472       "allocator": "malloc"
473     },
474     {
475       "name": "tc-catch-all",
476       "stacktrace": ".*",
477       "allocator": "malloc"
478     },
479     {
480       "name": "UNTIL_HERE_FOR_TOTAL",
481       "stacktrace": "optional",
482       "allocator": "optional"
483     },
484     {
485       "name": "total-exclude-profiler",
486       "stacktrace": "optional",
487       "allocator": "optional"
488     },
489     {
490       "name": "total",
491       "stacktrace": "optional",
492       "allocator": "optional"
493     },
494     {
495       "name": "absent",
496       "stacktrace": "optional",
497       "allocator": "optional"
498     },
499     {
500       "name": "anonymous",
501       "stacktrace": "optional",
502       "allocator": "optional"
503     },
504     {
505       "name": "file-exec",
506       "stacktrace": "optional",
507       "allocator": "optional"
508     },
509     {
510       "name": "file-nonexec",
511       "stacktrace": "optional",
512       "allocator": "optional"
513     },
514     {
515       "name": "stack",
516       "stacktrace": "optional",
517       "allocator": "optional"
518     },
519     {
520       "name": "other",
521       "stacktrace": "optional",
522       "allocator": "optional"
523     }
524   ],
525   "version": "POLICY_DEEP_3"