gecko-dev/js
Jon Coppeard e58f93e27b Bug 1571682 - Make allocationSiteGroup fail cleanly on OOM r=tcampbell,jandem
This should make this fail cleanly on OOM rather than crashing, which should make this crash go away (without reducing memory usage obviously). The problem was the lack of hasHash/ensureHash methods that we use to handle OOM when generating unique IDs for GC things. I also tidied the equivalent code for ObjectGroupRealm::NewEntry (FallibleHashMethods is already implemented for MovableCellHasher).

We could further improve this by giving each script an immutable hash code on creation if you think it's worth the tradeoff of storing this for every script.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 16:18:21 +00:00
..
ductwork/debugger Backed out changeset 781d092114da (bug 1564168) for failures on test_onGarbageCollection.html 2019-08-08 05:12:21 +03:00
examples Backed out changeset 781d092114da (bug 1564168) for failures on test_onGarbageCollection.html 2019-08-08 05:12:21 +03:00
ipc Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
public Bug 1574098 - Remove unused defines from Class.h r=tcampbell 2019-08-15 13:04:43 +00:00
rust Bug 1573844 - Remove references to js::Class and remove the alias r=tcampbell 2019-08-14 19:13:12 +00:00
src Bug 1571682 - Make allocationSiteGroup fail cleanly on OOM r=tcampbell,jandem 2019-08-15 16:18:21 +00:00
xpconnect Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-08-15 12:50:36 +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 Bug 1568026 - move LTO/PGO configure bits to a new file; r=dmajor 2019-07-30 16:38:39 +00:00
sub.configure