nsICycleCollectorListener

Given an instance of this interface, the cycle collector calls the instance’s
methods to report the objects it visits, the edges between them, and its
conclusions about which objects are roots and which are garbage.

For a single cycle collection pass, the cycle collector calls this
interface’s methods in the following order:

This interface cannot be implemented by JavaScript code, as it is called
while the cycle collector is running. To analyze cycle collection data in JS:

Methods

allTraces()

begin()

noteRefCountedObject(aAddress, aRefCount, aObjectDescription)

noteGCedObject(aAddress, aMarked, aObjectDescription, aCompartmentAddress)

noteEdge(aToAddress, aEdgeName)

noteWeakMapEntry(aMap, aKey, aKeyDelegate, aValue)

noteIncrementalRoot(aAddress)

beginResults()

describeRoot(aAddress, aKnownEdges)

describeGarbage(aAddress)

end()

processNext(aHandler)

Attributes

wantAllTraces

disableLog

logSink

wantAfterProcessing