Bug 696376 - If stacks_enabled is false, only walk the stack on OS X 32 bits. r=

dbaron.
The 64 bit stack walks lack the InCriticalRange functionality and it looks like
the extra walks are causing an orange on leaktest on the bot.

--HG--
extra : rebase_source : 4c0a75892e30a6e522ed981a1ff12df99d2a0464
This commit is contained in:
Rafael Ávila de Espíndola 2011-11-04 09:49:48 -04:00
parent bb99952979
commit 9972f0d574

View File

@ -957,7 +957,7 @@ backtrace(tm_thread *t, int skip, int *immediate_abort)
t->suppress_tracing++;
if (!stacks_enabled) {
#if defined(XP_MACOSX)
#if defined(XP_MACOSX) && defined(__i386)
/* Walk the stack, even if stacks_enabled is false. We do this to
check if we must set immediate_abort. */
info->entries = 0;