Chrome Release Bot (LUCI) 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás
..
public 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás
BUILD.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás
DEPS 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás
DIR_METADATA 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás
OWNERS 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás
README.md 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás
allocation.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás
allocation.h 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás
connection_manager.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás
connection_manager.h 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás
heap_profiling_service.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás
heap_profiling_service.h 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás
json_exporter.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás
json_exporter.h 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás
json_exporter_unittest.cc 4762b62e7d Publish DEPS for 106.0.5249.13 1 ano atrás

README.md

The heap profiling service provides:

  • Storage for recording metadata about heap allocations and deallocations, for any number of clients.
  • A lightweight, synchronous API for clients to send metadata about heap allocations and deallocations.

There are two main entities:

  • Heap Profiling Clients send heap allocation data to the Heap Profiling Service. Clients require no special privileges. There should be at most 1 Client per process, since heap hooks are instantiated on a per-process basis.
  • The Heap Profiling Service runs in an unprivileged, sandboxed process. It’s sole purpose is to record allocations and serve them in heap dumps.

Heap dumps are emitted in traces with the «memory-infra» category enabled. This is coordinated by the (memory_instrumentation service)[https://cs.chromium.org/chromium/src/services/resource_coordinator/public/mojom/memory_instrumentation/memory_instrumentation.mojom]. See the HeapProfiler and HeapProfilerHelper interfaces.