Hook up allocator types in OOP memlog

Desktop / Chromium - Brett Wilson [chromium.org] - 13 September 2017 13:24 EDT

Writes separate sections of allocator types for the OOP memory log. Sone refactoring in support of this.

Adds tests for allocator splits and context information.

Bug: 763173 Change-Id: I81aeae226075b221d5b0b944fe74980557ffce32 Reviewed-on: https://chromium-review.googlesource.com/664083 Commit-Queue: Brett Wilson

e356ae5 Hook up allocator types in OOP memlog.
chrome/common/profiling/memlog_stream.h | 4 +-
chrome/profiling/allocation_event.cc | 7 +
chrome/profiling/allocation_event.h | 38 ++++
chrome/profiling/allocation_tracker.cc | 4 +
chrome/profiling/allocation_tracker.h | 11 ++
chrome/profiling/json_exporter.cc | 243 ++++++++++++++------------
chrome/profiling/json_exporter.h | 8 +-
chrome/profiling/json_exporter_unittest.cc | 197 ++++++++++++++++++---
chrome/profiling/memlog_connection_manager.cc | 4 +-
chrome/profiling/memlog_stream_parser.cc | 9 +-
10 files changed, 388 insertions(+), 137 deletions(-)

Upstream: git.chromium.org


  • Share