Predator  [unstable] git snapshot
Public Member Functions | Private Attributes
LeakMonitor Class Reference

#include <symgc.hh>

Collaboration diagram for LeakMonitor:
Collaboration graph
[legend]

Public Member Functions

 LeakMonitor (SymHeap &sh)
void enter ()
void leave ()
template<class TCont >
bool collectJunkFrom (const TCont &killedPtrs)
bool destroyObject (const TObjId obj)
bool importLeakObjs (TObjSet *leakObjs)

Private Attributes

SymHeapsh_
SymHeap snap_
TObjSet leakObjs_

Detailed Description

Todo:
some dox

Definition at line 51 of file symgc.hh.

Constructor & Destructor Documentation

LeakMonitor ( SymHeap sh)
inline

Definition at line 53 of file symgc.hh.

Member Function Documentation

bool collectJunkFrom ( const TCont &  killedPtrs)
inline

Definition at line 63 of file symgc.hh.

References collectJunk(), leakObjs_, SymHeapCore::objByAddr(), and sh_.

bool destroyObject ( const TObjId  obj)
inline

Definition at line 74 of file symgc.hh.

References destroyObjectAndCollectJunk(), leakObjs_, and sh_.

void enter ( )
bool importLeakObjs ( TObjSet leakObjs)
void leave ( )

Field Documentation

TObjSet leakObjs_
private

Definition at line 84 of file symgc.hh.

Referenced by collectJunkFrom(), and destroyObject().

SymHeap& sh_
private

Definition at line 82 of file symgc.hh.

Referenced by collectJunkFrom(), and destroyObject().

SymHeap snap_
private

Definition at line 83 of file symgc.hh.


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