tree: e3c9fb4081c1a11bfe52ff13998beb7a0b1b51e3 [path history] [tgz]
  1. BUILD.gn
  2. DEPS
  3. OWNERS
  4. README.md
  5. client_connection_manager.cc
  6. client_connection_manager.h
  7. heap_profiling_test_shim.cc
  8. heap_profiling_test_shim.h
  9. javatests/
  10. supervisor.cc
  11. supervisor.h
  12. test_driver.cc
  13. test_driver.h
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/ [this directory] contains
    • Logic that hooks up processes to the heap_profiling service [depends on content/].
    • End to end tests [depends on content/].
  • 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.