nsCycleCollector Struct Reference

Inheritance diagram for nsCycleCollector:

Inheritance graph
[legend]
Collaboration diagram for nsCycleCollector:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void RegisterRuntime (PRUint32 langID, nsCycleCollectionLanguageRuntime *rt)
void ForgetRuntime (PRUint32 langID)
void SelectPurple (GCGraphBuilder &builder)
void MarkRoots (GCGraphBuilder &builder)
void ScanRoots ()
void RootWhite ()
PRBool CollectWhite ()
 nsCycleCollector ()
 ~nsCycleCollector ()
PRBool Suspect (nsISupports *n)
PRBool Forget (nsISupports *n)
PRUint32 Collect (PRUint32 aTryCollections=1)
PRBool BeginCollection ()
PRBool FinishCollection ()
PRUint32 SuspectedCount ()
void Shutdown ()
void ClearGraph ()
void MaybeDrawGraphs ()
void Allocated (void *n, size_t sz)
void Freed (void *n)
void ExplainLiveExpectedGarbage ()
PRBool CreateReversedEdges ()
void DestroyReversedEdges ()
void ShouldBeFreed (nsISupports *n)
void WasFreed (nsISupports *n)

Public Attributes

PRBool mCollectionInProgress
PRBool mScanInProgress
PRBool mFollowupCollection
PRUint32 mCollectedObjects
nsCycleCollectionLanguageRuntimemRuntimes [nsIProgrammingLanguage::MAX+1]
nsCycleCollectionXPCOMRuntime mXPCOMRuntime
GCGraph mGraph
nsCycleCollectorParams mParams
nsTPtrArray< PtrInfo > * mWhiteNodes
PRUint32 mWhiteNodeCount
nsPurpleBuffer mPurpleBuf
nsCycleCollectorStats mStats
FILE * mPtrLog
PointerSet mExpectedGarbage


Constructor & Destructor Documentation

nsCycleCollector::nsCycleCollector (  ) 

nsCycleCollector::~nsCycleCollector (  ) 


Member Function Documentation

void nsCycleCollector::RegisterRuntime ( PRUint32  langID,
nsCycleCollectionLanguageRuntime rt 
)

void nsCycleCollector::ForgetRuntime ( PRUint32  langID  ) 

void nsCycleCollector::SelectPurple ( GCGraphBuilder builder  ) 

void nsCycleCollector::MarkRoots ( GCGraphBuilder builder  ) 

void nsCycleCollector::ScanRoots (  ) 

void nsCycleCollector::RootWhite (  ) 

PRBool nsCycleCollector::CollectWhite (  ) 

PRBool nsCycleCollector::Suspect ( nsISupports n  ) 

PRBool nsCycleCollector::Forget ( nsISupports n  ) 

PRUint32 nsCycleCollector::Collect ( PRUint32  aTryCollections = 1  ) 

PRBool nsCycleCollector::BeginCollection (  ) 

PRBool nsCycleCollector::FinishCollection (  ) 

PRUint32 nsCycleCollector::SuspectedCount (  ) 

void nsCycleCollector::Shutdown ( void   ) 

void nsCycleCollector::ClearGraph (  )  [inline]

void nsCycleCollector::MaybeDrawGraphs (  ) 

void nsCycleCollector::Allocated ( void *  n,
size_t  sz 
)

void nsCycleCollector::Freed ( void *  n  ) 

void nsCycleCollector::ExplainLiveExpectedGarbage (  ) 

PRBool nsCycleCollector::CreateReversedEdges (  ) 

void nsCycleCollector::DestroyReversedEdges (  ) 

void nsCycleCollector::ShouldBeFreed ( nsISupports n  ) 

void nsCycleCollector::WasFreed ( nsISupports n  ) 


Member Data Documentation


The documentation for this struct was generated from the following file:

Generated Mozilla by doxygen 1.5.6