tree: 9cc9be8b0d57333b34266e225fcfe931bcd612ff [path history] [tgz]
  1. in_process/
  2. multi_process/
  3. DIR_METADATA
  4. OWNERS
  5. README.md
components/heap_profiling/README.md

The heap profiler records heap allocations, and exports heap dumps via Chrome tracing.

The code is divided into three directories:

  • components/services/heap_profiling/ contains the core logic that records allocations.

  • components/heap_profiling/multi_process contains

    • Logic that hooks up processes to the heap_profiling service [depends on content/].
    • End to end tests [depends on content/].
  • components/heap_profiling/in_process contains

    • Logic that hooks browser process to the heap_profiling service
  • chrome/browser/profiling_host/ contains:

    • Logic that hooks up UI surfaces to the heap_profiling service.
    • Logic to automatically upload heap dumps in the wild.