Back out a3fcfb7d6647 (bug 702250) because it turned 10.5 opt tests pure orange

This commit is contained in:
Phil Ringnalda 2011-11-17 19:41:44 -08:00
Родитель da388f5ca5
Коммит 4c80c99a2c
1 изменённых файлов: 5 добавлений и 6 удалений

Просмотреть файл

@ -6063,14 +6063,13 @@ MALLOC_OUT:
default_zone = malloc_default_zone();
/*
* We only use jemalloc with MacOS 10.6 and 10.7. jemalloc is disabled
* on 10.5 due to bug 702250, an apparent MacOS bug.
*
* We'll have to update our code to work with newer versions, because
* the malloc zone layout is likely to change.
* We only use jemalloc with versions of MacOS we've seen (10.5, 10.6, and
* 10.7). We'll have to update our code to work with newer versions,
* because the malloc zone layout is likely to change.
*/
osx_use_jemalloc = (default_zone->version == SNOW_LEOPARD_MALLOC_ZONE_T_VERSION ||
osx_use_jemalloc = (default_zone->version == LEOPARD_MALLOC_ZONE_T_VERSION ||
default_zone->version == SNOW_LEOPARD_MALLOC_ZONE_T_VERSION ||
default_zone->version == LION_MALLOC_ZONE_T_VERSION);
/* Allow us dynamically turn off jemalloc for testing. */