gecko-dev/js
Chris Martin ae3e160b94 Bug 1546881 - Fix OOM causing realloc to wrong arena r=sfink
Bug 1052579 introduced a new mozjemalloc arena for JSString char buffers.
Unfortunately, my testing missed the case where JSStringBuilder causes an OOM
condition, causing the OOM handler to realloc to the default arena, regardless
of what arena is actually indicated by the AllocPolicy for the char vector.

The realloc now passes the arena from the AllocPolicy to mozjemalloc.

Differential Revision: https://phabricator.services.mozilla.com/D29092

--HG--
extra : moz-landing-system : lando
2019-04-30 15:37:45 +00:00
..
ductwork/debugger Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE 2019-02-14 11:50:23 +02:00
examples No bug. Update jorendb for newGlobal API change, a=NPOTB, DONTBUILD 2019-02-25 21:20:32 -08:00
ipc Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-04-12 13:14:25 +00:00
public Backed out changeset f2a3fb166dfb (bug 1538779) for nojit build bustages at backup-point-bug1315634.js. CLOSED TREE 2019-04-29 21:27:59 +03:00
rust Bug 1543843 - Add constructors to JSPropertySpec and inner structs/unions. r=jwalden 2019-04-26 01:01:15 +00:00
src Bug 1546881 - Fix OOM causing realloc to wrong arena r=sfink 2019-04-30 15:37:45 +00:00
xpconnect Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-04-28 09:30:05 +00:00
app.mozbuild
ffi.configure Bug 1519040 - Remove some unused old-configure assignments. r=mshal 2019-01-10 22:02:04 +00:00
moz.build
moz.configure Bug 1545502 - move fuzzing options to toolchain.configure; r=firefox-build-system-reviewers,chmanchester 2019-04-23 19:15:17 +00:00
sub.configure Bug 1520394 - Don't invoke js subconfigure as a separate process. r=nalexander 2019-01-16 23:42:12 +00:00