• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSExtraMIData?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSExtraMIData? (From: Graham Cox <email@hidden>)
 >Re: NSExtraMIData? (From: Greg Parker <email@hidden>)
 >Re: NSExtraMIData? (From: "Sean McBride" <email@hidden>)
 >Re: NSExtraMIData? (From: Mike Abdullah <email@hidden>)
 >Re: NSExtraMIData? (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Table object not selected on launch
  • Next by Date: Re: how do you set the value of a UIPickerView programatically? [solved]
  • Previous by thread: Re: NSExtraMIData?
  • Next by thread: Re: Cocoa-dev Digest, Vol 7, Issue 52
  • Index(es):
    • Date
    • Thread