Files
firefox/browser/config
Mike Hommey 3f49072dc5 Bug 1364613 - Disable replace-malloc on hazard builds. r=sfink
This avoids some known hazard from replace-malloc itself, and unhides
--disable-replace-malloc hazards if there are any (and there is one from
bug 1361258), which wouldn't be caught until riding trains
(replace-malloc being only enabled on nightly).

The hazard from bug 1361258 that disappears is this one:
  Error: Indirect call malloc_hook_table_t.jemalloc_thread_local_arena_hook
  Location: replace_jemalloc_thread_local_arena @memory/replace/replace/ReplaceMalloc.cpp#261
  Stack Trace:
  jemalloc_thread_local_arena @ memory/build/replace_malloc.c#287
  Gecko_SetJemallocThreadLocalArena @ layout/style/ServoBindings.cpp#2062

The new hazard from that bug is:
  Error: Variable assignment jemalloc.c:arenas_map
  Location: jemalloc_thread_local_arena @memory/mozjemalloc/jemalloc.c#3068
  Stack Trace:
  Gecko_SetJemallocThreadLocalArena @ layout/style/ServoBindings.cpp#2048

Where arenas_map is a thread-local variable, so there really is no
hazard.
2017-05-16 08:20:46 +09:00
..