What's the "Objective-C garbage Collection"?
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