retain count
Monkey Forums/Monkey Programming/retain count
| ||
Is there any way to get the retain count or similar of an object from inside monkey? Could be tricky to manually track... |
| ||
Ahem... what exactly is a "retain count"? |
| ||
cant you just put the objects onto a list then get the length of the list? |
| ||
If you mean the active reference variables that are "pointing" to the given object instance, there's no way to get it as some of the target GC do not provide this information. Also, notice that Monkey GC are not single pass ref-counted garbage collectors, as all of them handle cyclic referencing properly. |
| ||
Thanks ziggy, I thought that was the case but wanted to make sure. |