"dsimcha" <[email protected]> wrote in message 
news:[email protected]...
> == Quote from Denis Koroskin ([email protected])'s article
>> Aren't uint array allocations have hasPointers flag set off? I always
>> thought they aren't scanned for pointers (unlike, say, void[]).
>
> Right, but they can still be the target of false pointers.  In this case, 
> false
> pointers keep each instance of foo[] alive, leading to severe memory 
> leaks.

I don't suppose there's a way to lookup the pointers the GC believes it has 
found to a given piece of GC-ed memory? Sounds like that would be very 
useful, if not essential, for debugging/optimizing memory usage.


Reply via email to