gecko-dev/js
Jason Orendorff 785ed53165 Bug 1537609 - Cap the stack size at 2MB on Windows. r=jandem
In bug 256180, the size of the stack on 64-bit Windows was changed from 2MB to
8MB, and on 32-bit Windows, from 1MB to 1.5MB. This is so large that it takes
significantly longer for a runaway recursive function to throw "too much
recursion", which causes terrible performance in scripts obfuscated using
obfuscator.io.

This patch leaves the actual stack size as-is, but changes the
JS-engine-specific stack quota back to 2MB on 64-bit Windows (6MB if ASAN is
enabled). 32-bit Windows is unaffected by the new cap.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 15:12:00 +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 Backed out changeset 7fa7d6e6dedc (bug 1442778) for devtools failures on browser_webconsole_check_stubs_console_api.js CLOSED TREE 2019-03-26 20:27:55 +02:00
public Bug 1539031 - (part 2) Add a incremental non-zonal mode r=jonco 2019-03-26 23:18:05 +00:00
rust Bug 1529681 - Update bindgen. r=bbouvier 2019-03-27 14:39:41 +00:00
src Bug 1529681 - Update bindgen. r=bbouvier 2019-03-27 14:39:41 +00:00
xpconnect Bug 1537609 - Cap the stack size at 2MB on Windows. r=jandem 2019-03-27 15:12:00 +00:00
app.mozbuild
ffi.configure
moz.build
moz.configure Bug 1531670 - Replace ENABLE_WASM_GENERALIZED_TABLES. r=bbouvier 2019-03-01 09:33:31 +01:00
sub.configure Bug 1520394 - Don't invoke js subconfigure as a separate process. r=nalexander 2019-01-16 23:42:12 +00:00