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