gecko-dev/js
Jim Blandy 1c20a968ad Bug 1516514: Clear the hasCachedSavedFrame bit on frames on compartment mismatch. r=jorendorff
The code that manages the LiveSavedFrameCache would very much like to assert
that, if a frame has its hasCachedSavedFrame bit set, then it actually does have
an entry in the LiveSavedFrameCache. However, in the presence of compartment
mismatches, this becomes temporarily untrue, and OOMs can make 'temporarily'
longer than expected.

This patch more aggressively clears frames' hasCachedSavedFrame bits, so that
when we do purge the cache for a compartment mismatch, all frames get their bits
cleared before we start repopulating the cache.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:09:04 +00:00
..
ductwork/debugger Bug 1515590 part 3 - Fix some debugger tests by forcing separate compartments for the debugger and debuggee. r=ochameau 2018-12-22 21:39:56 +00:00
examples No bug. Make jorendb give a REPL even if the script throws an exception. r=NPOAEW 2019-01-08 14:21:25 -08:00
ipc Bug 1406872 - Remove perf monitoring code - r=jandem,Gijs 2019-01-14 14:09:09 +00:00
public Bug 1406872 - Remove perf monitoring code - r=jandem,Gijs 2019-01-14 14:09:09 +00:00
rust Bug 1517624 - Followup fix for the sm-rust job, r=bustage, r=me as trivial 2019-01-07 17:35:48 -08:00
src Bug 1516514: Clear the hasCachedSavedFrame bit on frames on compartment mismatch. r=jorendorff 2019-01-17 21:09:04 +00:00
xpconnect Bug 1406872 - Remove perf monitoring code - r=jandem,Gijs 2019-01-14 14:09:09 +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 1519319 - Move bindgen.configure include to js/moz.configure. r=froydnj 2019-01-11 22:17:54 +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