Re: Debug environment variables and Garbage Collection
Re: Debug environment variables and Garbage Collection
Subject : Re: Debug environment variables and Garbage Collection
From: André Pang <email@hidden >
Date: Wed, 19 Mar 2008 11:47:26 +1100
Delivered-to: email@hidden
Delivered-to: email@hidden
On 19/03/2008, at 9:51 AM, Sean McBride wrote:
The wonderful Technical Note TN2124 "Mac OS X Debugging Magic"
unfortunately says absolutely nothing about garbage collection.
At the risk of angering the Gods of documented APIs:
~ % strings /usr/lib/libobjc.dylib /usr/lib/libauto.dylib | grep '^AUTO'
AUTO_ENABLE_MONITOR
AUTO_ENABLE_MONITOR=YES
AUTO_DISABLE_GENERATIONAL
AUTO_LOG_NOISY
AUTO_LOG_ALL
AUTO_LOG_COLLECTIONS
AUTO_LOG_REGIONS
AUTO_LOG_UNUSUAL
AUTO_LOG_WEAK
AUTO_COLLECTION_THRESHOLD
AUTO_COLLECTION_RATIO
AUTO_RECORD_REFCOUNT_STACKS
AUTO_DIRTY_ALL_DELETED
AUTO_USE_EXACT_SCANNING
They may not help you with tracking down zombies, and they may go away
in future releases, but I certainly found them useful when profiling a
GC app.
--
% Andre Pang : trust.in.love.to.save <http://www.algorithm.com.au/ >
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.