Re: What's the "Objective-C garbage Collection"?
Re: What's the "Objective-C garbage Collection"?
- Subject: Re: What's the "Objective-C garbage Collection"?
- From: "Shawn Erickson" <email@hidden>
- Date: Wed, 18 Apr 2007 10:17:20 -0700
On 4/17/07, Jay <email@hidden> wrote:
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...
For now ignore that it exists. It won't be useful until Leopard (10.5)
is released.
Look for garbage collection on the following page:
<http://developer.apple.com/leopard/overview/>
"Now in Leopard, the Objective-C runtime has been updated to include a
thoroughly modern and high performance garbage collection system,
making memory management a thing of the past."
-Shawn
_______________________________________________
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