gecko-dev/js
Mike Hommey c617726cfa 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.

--HG--
extra : rebase_source : bea3d2f862ede8c0b90775b6ec9cebb657b9b455
2017-05-16 08:20:46 +09:00
..
ductwork/debugger Bug 1333493 - add BUG_COMPONENT to js/* files. r=bbouvier 2017-03-24 09:50:49 -04:00
examples No bug. Update to new way of detecting emacs 2017-03-26 15:43:23 -07:00
ipc Bug 1359245 - Eliminate nsXPConnect::GetContextInstance() (r=mccr8) 2017-04-27 15:34:46 -07:00
public Bug 1362977 - Rename CellSize to CellAlignBytes and improve the naming of related constants r=sfink 2017-05-09 11:38:32 +01:00
src Bug 1364613 - Disable replace-malloc on hazard builds. r=sfink 2017-05-16 08:20:46 +09:00
xpconnect Bug 1361900: Part 11 - Make sure new cache file is closed before renaming on Windows. r=me 2017-05-13 22:55:34 -07:00
ffi.configure
moz.build Bug 1333493 - add BUG_COMPONENT to js/* files. r=bbouvier 2017-03-24 09:50:49 -04:00
moz.configure