tree: 16a5aa89859b19f12a0cd40ed78286f98a55a630 [path history] [tgz]
  1. in_process/
  2. multi_process/
  3. OWNERS
  4. 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.