summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_browser_application_mac.mm
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-11 17:25:14 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-11 17:25:14 +0000
commit21ab5b9c9c64061b15d79a29b5ea337e4acc8953 (patch)
treeeebd8bc8c30e77e19b3f1859672d8b1f6904eb6e /chrome/browser/chrome_browser_application_mac.mm
parent0412aed13507d3069ab65c15238ac9571ca1bc25 (diff)
downloadchromium_src-21ab5b9c9c64061b15d79a29b5ea337e4acc8953.zip
chromium_src-21ab5b9c9c64061b15d79a29b5ea337e4acc8953.tar.gz
chromium_src-21ab5b9c9c64061b15d79a29b5ea337e4acc8953.tar.bz2
[Mac] Enable zombies for all on devchannel.
Attempt to flush out more use-after-free cases in the wild. Right now messages to freed ObjC objects are binned by the object's address, with this change they should aggregate into a bigger bin. Additionally, the treadmill should slightly increase the number of cases caught. [Was reverted earlier due to Mac Perf(2). A fix to the zombie code should improve things.] BUG=35590,24987,45676 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=48838 Review URL: http://codereview.chromium.org/2478004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49544 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_browser_application_mac.mm')
-rw-r--r--chrome/browser/chrome_browser_application_mac.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/chrome_browser_application_mac.mm b/chrome/browser/chrome_browser_application_mac.mm
index 6e171fd..1a4c908 100644
--- a/chrome/browser/chrome_browser_application_mac.mm
+++ b/chrome/browser/chrome_browser_application_mac.mm
@@ -165,7 +165,9 @@ BOOL SwizzleNSExceptionInit() {
+ (void)initialize {
// Turn all deallocated Objective-C objects into zombies, keeping
// the most recent 10,000 of them on the treadmill.
- DCHECK(ObjcEvilDoers::ZombieEnable(YES, 10000));
+ // TODO(shess): Convert to a DCHECK() before the next beta channel.
+ // http://crbug.com/45676
+ ObjcEvilDoers::ZombieEnable(YES, 10000);
}
- init {