Re: NSExtraMIData?
Re: NSExtraMIData?
- Subject: Re: NSExtraMIData?
- From: Greg Parker <email@hidden>
- Date: Tue, 12 Jan 2010 14:44:08 -0800
On Jan 12, 2010, at 1:52 PM, Sean McBride wrote:
> I guess when dealing with Obj-C objects, NSZombieEnabled=YES together
> with NSDeallocateZombies=NO does #2 and sorta does #3.
>
> But, as I said, I was wondering if there is a way to extend this to all
> allocations (ie non-objects). Additionally, NSZombieEnabled does
> nothing under GC, and I'd be interesting in knowing if there is
> something similar for that case.
Guard Malloc is the heavyweight catch-everything guard. It memory-protects all freed blocks, both objects and non-objects. But the cost is a big performance hit in time and space.
On Snow Leopard, AUTO_USE_GUARDS=YES is similar to Guard Malloc for GC-allocated memory.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
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