On Oct 16, 2013, at 9:38 AM, Steve Mills wrote:

> On Oct 16, 2013, at 00:28:17, Ken Thomases <k...@codeweavers.com> wrote:
> 
>> Regarding the general issue of the mystery objects that are still alive, 
>> there's little point in speculating.  Look at the object's history in the 
>> Allocations instrument to see not only where it was allocated but all 
>> retains, releases, and autoreleases.  Correlate those until you see which 
>> code had a responsibility to release but failed to.
> 
> Ah, that helps. Yes, it looks like all of these allocations coming from 
> itemArray are being released.

Released to the point of being deallocated?  Deallocation would also be 
indicated in the history.

> I'm confused, then, by what the Live column denotes when looking at the All 
> Allocations or __NSArrayI detail, because it shows a bullet in that column 
> for *every* __NSArrayI that was allocated by itemArray - all 8000+ of them 
> appear to be still living by the end of the app's run. The docs for this 
> instrument says the Live column means "Denotes if the object is currently 
> live."

Yes, my understanding is that "live" means not yet deallocated, too.

Regards,
Ken


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to