• 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: if statement causing 32 Byte leak?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: if statement causing 32 Byte leak?


  • Subject: Re: if statement causing 32 Byte leak?
  • From: Joar Wingfors <email@hidden>
  • Date: Sun, 10 Jan 2010 15:35:57 -0800

On 10 jan 2010, at 15.26, Graham Cox wrote:

> One of the hardest over-release bugs to find is when an autorelease pool pops and the object has already gone - it might be a long way past where the real problem is. Zombies definitely helps with this, but you still need a lot of detective work. If at dealloc time you could assert on a *future* autorelease crash, that would stop the program at the real point of failure.


I don't really see what that would give you that you don't already have with zombies + memory management history in Instruments? With that functionality so readily available in Instruments, there's really very little detective work left in the common case.

j o a r


_______________________________________________

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

  • Follow-Ups:
    • Re: if statement causing 32 Byte leak?
      • From: Graham Cox <email@hidden>
References: 
 >Re: if statement causing 32 Byte leak? (From: Scott Ribe <email@hidden>)
 >Re: if statement causing 32 Byte leak? (From: "Glenn L. Austin" <email@hidden>)
 >Re: if statement causing 32 Byte leak? (From: Joar Wingfors <email@hidden>)
 >Re: if statement causing 32 Byte leak? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: if statement causing 32 Byte leak?
  • Next by Date: Re: iCal-style NSTextFields
  • Previous by thread: Re: if statement causing 32 Byte leak?
  • Next by thread: Re: if statement causing 32 Byte leak?
  • Index(es):
    • Date
    • Thread