Listable.h File Reference
Go to the source code of this file.
Function Documentation
| class class class class class class class class class class class class class void dec_refs_delete_or_zombie |
( |
Listable * |
ptr |
) |
|
|
|
|
"Clean up:C++ garbage collection" _Byte_, 21(1):157(2)
; p_assert(count>0,"possible cycle in LiveWrapper pointer graph") ; p_warning("possible cycle in LiveWrapper pointer graph")
... only one ref -- it will be deleted
... remove count due to containing LiveWrapper.
... will call DTOR and convert to Zombie if there's any
... outstanding references left.
Definition at line 74 of file Zombie.cc.
References context.
Referenced by LiveWrapper::delete_object(), and LiveWrapper::object(). |
| void dump_listable_stats |
( |
|
) |
|
|
|
|
Description: Output information on the maximum number of references to any Listable object for debugging and testing purposes.
Note that this procedure is only defined if the macro COUNT_LISTABLE_REFS is defined.
Definition at line 34 of file Listable.cc.
References max_listable_refs. |
| ostream& operator<< |
( |
ostream & |
o, |
|
|
const Listable & |
l |
|
) |
[inline] |
|
| void _listable_ref_dec |
( |
Listable * |
obj |
) |
[inline] |
|
Variable Documentation
|