Re: Two kinds of NSManagedObject fault?
Re: Two kinds of NSManagedObject fault?
- Subject: Re: Two kinds of NSManagedObject fault?
- From: Jerry Krinock <email@hidden>
- Date: Sat, 08 Mar 2014 12:16:09 -0800
On 2014 Mar 08, at 11:45, Frédéric Testuz <email@hidden> 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@hidden)
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:
This email sent to email@hidden