gecko-dev/js
Paul Bone a9bab69fa2 Bug 1573266 - Use OOM simulation for thread creation r=jonco
This is the patch that tests and fixes this bug.  If we execute the error
case because the OS refused to create a thread we would create a nested
AutoLockHelperThreadsState and violate mutex orderings.  We fix this by
reducing the AutoLockHelperThreadsState scope in ensureInitalized().

Also:
 + Use OOM testing to fail thread creation.
 + Remove the unsafe-OOM region from Thread::init(), it isn't needed anyway.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 02:05:49 +00:00
..
ductwork/debugger Bug 1564168 - [jsdbg2] Debugger.prototype.enabled should be removed. 2019-08-19 21:47:05 +00:00
examples Bug 1564168 - [jsdbg2] Debugger.prototype.enabled should be removed. 2019-08-19 21:47:05 +00:00
ipc Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
public Bug 1581574 - Remove Heap<T> write barrier and rely on existing read barrier to make incremental marking work r=sfink 2019-09-20 10:09:19 +00:00
rust Bug 1581574 - Remove Heap<T> write barrier and rely on existing read barrier to make incremental marking work r=sfink 2019-09-20 10:09:19 +00:00
src Bug 1573266 - Use OOM simulation for thread creation r=jonco 2019-09-23 02:05:49 +00:00
xpconnect Backed out 8 changesets (bug 1542830) for causing Nightly bustages. a=backout 2019-09-22 00:01:01 +03:00
app.mozbuild Bug 1569197 - Backed out changeset 2a053de2828f;r=arai 2019-08-07 09:17:11 +00:00
ffi.configure
moz.build
moz.configure Backed out 3 changesets (bug 1577757, bug 1577508, bug 1576900) for bustages at WasmOpIter.h on a CLOSED TREE 2019-09-20 16:59:20 +03:00
sub.configure Bug 844509 - Don't encode environment in get_cmd_output and old_configure. r=nalexander 2019-08-20 22:12:23 +00:00