• 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: ARC, Instruments and retain cycles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ARC, Instruments and retain cycles


  • Subject: Re: ARC, Instruments and retain cycles
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 07 Jan 2012 09:15:57 -0800

On Fri, 23 Dec 2011 12:58:50 +0800, Roland King <email@hidden> said:
>Does anyone know anything about improved leak detection in instruments especially as it pertains to retain cycles?

I don't know anything about "improved" because I don't know what it was like before. I can reliably make a retain cycle that Instruments does not report with its Leaks tool, as I describe in the Memory Management section of my book as revised for iOS 5; but this has to do with a block that refers to self being copied behind the scenes, and I'm not entirely surprised that Instruments can't keep up with that. On the other hand, ARC does sometimes warn of potential retain cycle due to a copied block (though it didn't in this instance), which I regard as right neighborly of it. m.

--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ARC, Instruments and retain cycles
      • From: Roland King <email@hidden>
  • Prev by Date: Regression: refactoring fails in 4.2.1 if there is any C++?
  • Next by Date: Re: Why is the ARC converter marking properties as weak?
  • Previous by thread: Regression: refactoring fails in 4.2.1 if there is any C++?
  • Next by thread: Re: ARC, Instruments and retain cycles
  • Index(es):
    • Date
    • Thread