• 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
What's the "Objective-C garbage Collection"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What's the "Objective-C garbage Collection"?


  • Subject: What's the "Objective-C garbage Collection"?
  • From: "Jay" <email@hidden>
  • Date: Wed, 18 Apr 2007 13:09:45 +0800

I found this in building options. But I search in the documents online, nothing useful found.Only info is from the xcode interface, saying:

Compiles and marks code as using assignment primitives within the Objective-C runtime; tools and applications compiled with this option will run with a garbage collector and will require that all other Objective-C code be also so compiled. Only applies to Mac OS X 10.4 and later. [GCC_ENABLE_OBJC_GC, -fobjc-gc]

I'm still feeling confused, does this option has something to do with the "retain-release" mechanism, or it is doing something else, I noticed that this option is originally disabled, is it partially because of the cost of overhaed?

Thanks for helping my dummy questions...

regards,
Jay
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: What's the "Objective-C garbage Collection"?
      • From: "Shawn Erickson" <email@hidden>
    • Re: What's the "Objective-C garbage Collection"?
      • From: John Stiles <email@hidden>
  • Prev by Date: Re: What is "-fobjc-exceptions" anyway?
  • Next by Date: Re: What's the "Objective-C garbage Collection"?
  • Previous by thread: Re: What is "-fobjc-exceptions" anyway?
  • Next by thread: Re: What's the "Objective-C garbage Collection"?
  • Index(es):
    • Date
    • Thread