On 2014 Mar 08, at 11:45, Frédéric Testuz <[email protected]> wrote:
> I suspect that in your test case, the number are tagged pointers, then they > are never deallocated as they are not allocated in first place. And are you > sure that the string tested are not static strings (NSCFConstantString) ? > These ones are also never deallocated. Good thinking, Frédéric! Yes, I remember reading in a Mike Ash Friday Q&A that recent versions of OS X use tagged pointers for NSNumbers, and the strings which I tested are indeed constant strings. What you say seems quite likely. I still don’t understand how a managed object whose retain count is 14 could have deallocated attributes, though. Need to read some more. _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
