diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-19 16:25:13 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-19 16:25:13 +0000 |
commit | d9c320a8f7ff01a475a831924797001f54443a85 (patch) | |
tree | 55d91a0e3712092c6704d46cbe5bf8982680090e /chrome/chrome_common.gypi | |
parent | 2a026d42f29297f6d040eca9c8fa0efe96afa0ba (diff) | |
download | chromium_src-d9c320a8f7ff01a475a831924797001f54443a85.zip chromium_src-d9c320a8f7ff01a475a831924797001f54443a85.tar.gz chromium_src-d9c320a8f7ff01a475a831924797001f54443a85.tar.bz2 |
[Mac] Implement NSObject zombies.
Apple's NSZombieEnabled setting makes it easier to catch messages to
freed objects, but is mostly only useful in debugging environments.
This implements a facility like NSZombieEnabled with the following
additions:
- The number of outstanding zombies can be configured.
- Classes can opt-in to becoming zombies.
- C++ destructors are correctly called on Leopard.
The goal is to allow us to enable zombies in certain production builds
to help debug some of the message-after-free bugs we have.
BUG=35590,24987
TEST=everything
Review URL: http://codereview.chromium.org/660411
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47674 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_common.gypi')
0 files changed, 0 insertions, 0 deletions