tree: b2ab494109358a1b3dccc33558284fc4975adf91 [path history] [tgz]
  1. javatests/
  2. BUILD.gn
  3. client_connection_manager.cc
  4. client_connection_manager.h
  5. DEPS
  6. heap_profiling_test_shim.cc
  7. heap_profiling_test_shim.h
  8. OWNERS
  9. README.md
  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.