gecko-dev/xpcom/docs/huntingleaks.rst
Sylvestre Ledru 1c30373d7d Bug 1733360 - doc: update the hunting leaks docs + fix links r=gerard-majax DONTBUILD
The link `GC and CC logs </performance/memory/gc_and_cc_logs.html>`_
is different because it is a markdown page and we cannot cross reference them
(I KNOW).
See: https://github.com/readthedocs/recommonmark/issues/8

Differential Revision: https://phabricator.services.mozilla.com/D127117
2021-09-30 14:05:14 +00:00

23 lines
772 B
ReStructuredText

Hunting Leaks
=============
.. contents:: Table of Contents
:local:
:depth: 2
Different tools and technics are used to hunt leaks:
.. list-table::
:header-rows: 1
* - Tools
- Description
* - :ref:`Bloatview`
- BloatView is a tool that shows information about cumulative memory usage and leaks.
* - :ref:`Refcount Tracing and Balancing`
- Refcount tracing and balancing are advanced techniques for tracking down leak of refcounted objects found with BloatView.
* - `GC and CC logs </performance/memory/gc_and_cc_logs.html>`_
- Garbage collector (GC) and cycle collector (CC) logs give information about why various JS and C++ objects are alive in the heap.
* - :ref:`DMD Heap Scan Mode`
- Heap profiler within Firefox