commit | 940046944bd52bfbdb050dc5190cc54f15257957 | [log] [tgz] |
---|---|---|
author | Benoît Lizé <lizeb@chromium.org> | Fri Aug 30 12:08:10 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Aug 30 12:08:10 2019 |
tree | 100ec3300f90b23663ca58fb599e2944a8b6e87a | |
parent | b01eb3f0e29d78427a0da0bef8481e72125d4bba [diff] |
base/allocator: Add tags and names for Blink GC and PartitionAlloc ranges. Anonymous memory can be tagged (on OS X) or named (on Android). Add tags and names for BlinkGC and PartitionAlloc, to ease memory investigations and debugging. Example output on Android, by looking at /proc/[PID]/smaps: 34c02000-34c04000 ---p 00000000 00:00 0 [anon:partition_alloc] Name: [anon:partition_alloc] Size: 8 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Rss: 0 kB Pss: 0 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 0 kB Referenced: 0 kB Anonymous: 0 kB AnonHugePages: 0 kB Swap: 0 kB SwapPss: 0 kB Locked: 0 kB VmFlags: mr mw me ac 34c04000-34dfc000 rw-p 00000000 00:00 0 [anon:partition_alloc] Name: [anon:partition_alloc] Size: 2016 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Rss: 984 kB Pss: 984 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 984 kB Referenced: 980 kB Anonymous: 984 kB AnonHugePages: 0 kB Swap: 0 kB SwapPss: 0 kB Locked: 0 kB VmFlags: rd wr mr mw me ac Bug: 998048 Change-Id: I82b5ccdf5979fec920043aa62169607625aa7dbc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774286 Commit-Queue: Benoit L <lizeb@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Chris Palmer <palmer@chromium.org> Cr-Commit-Position: refs/heads/master@{#692015}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .