mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 702250 - Disable jemalloc on mac 10.5 due to crash in ozone_size (apparently due to OS bug). r=khuey
This will likely regress a number of benchmarks.
This commit is contained in:
parent
6840dc4460
commit
424d3e2729
@ -6063,13 +6063,14 @@ MALLOC_OUT:
|
|||||||
default_zone = malloc_default_zone();
|
default_zone = malloc_default_zone();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We only use jemalloc with versions of MacOS we've seen (10.5, 10.6, and
|
* We only use jemalloc with MacOS 10.6 and 10.7. jemalloc is disabled
|
||||||
* 10.7). We'll have to update our code to work with newer versions,
|
* on 10.5 due to bug 702250, an apparent MacOS bug.
|
||||||
* because the malloc zone layout is likely to change.
|
*
|
||||||
|
* 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 == LEOPARD_MALLOC_ZONE_T_VERSION ||
|
osx_use_jemalloc = (default_zone->version == SNOW_LEOPARD_MALLOC_ZONE_T_VERSION ||
|
||||||
default_zone->version == SNOW_LEOPARD_MALLOC_ZONE_T_VERSION ||
|
|
||||||
default_zone->version == LION_MALLOC_ZONE_T_VERSION);
|
default_zone->version == LION_MALLOC_ZONE_T_VERSION);
|
||||||
|
|
||||||
/* Allow us dynamically turn off jemalloc for testing. */
|
/* Allow us dynamically turn off jemalloc for testing. */
|
||||||
|
Loading…
Reference in New Issue
Block a user