gecko-dev/js
Kris Maglione 8751f930ce Bug 1471091: Avoid cloning and caching process scripts. r=mccr8
We only run process scripts once per process, so there's no need to compile
them for the compilation scope, or to keep a separate cloned copy alive for
the length of the session.

This patch changes the caching behavior of message managers to compile
single-use scripts directly for the target global, and avoid caching them for
the rest of the session. It also changes the preloader to drop references to
these scripts after they've been executed and/or encoded, as appropriate.

MozReview-Commit-ID: EfKo2aYbBxl

--HG--
extra : rebase_source : aebc5812bef4413d497ac4fdb59aced00a5a4c8e
extra : absorb_source : cf5795eb0bff47d08b1ab45f002afb3f05109c93
extra : histedit_source : e92619d2a818095241c52d8f1961ccad38300d32
2018-06-29 18:07:46 -07:00
..
ductwork/debugger Bug 1468752 part 4 - Remove JS_GetGlobalForObject. r=bz 2018-07-06 12:54:00 +02:00
examples Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
ipc Bug 1470890 - handle deserialization failure gracefully in JS IPC; r=evilpie 2018-06-27 16:10:41 +03:00
public Bug 1468752 part 2 - Define Wrapper::wrapperHandler in Wrapper.h. r=bz 2018-07-06 12:53:38 +02:00
rust Bug 1472538: Update bindgen. r=xidorn 2018-07-01 16:04:49 +02:00
src Bug 1472973 part 5 - Use JS::CurrentGlobalOrNull in JS shell clone() function. r=bz 2018-07-06 18:16:23 +02:00
xpconnect Bug 1471091: Avoid cloning and caching process scripts. r=mccr8 2018-06-29 18:07:46 -07:00
app.mozbuild Bug 1431090 - Add FuzzingInterface support to JS engine. r=jandem 2018-01-17 17:05:04 +01:00
ffi.configure
moz.build Bug 1403322: Switch jsreftests, jittests, test-verify to SCHEDULES; r=ahal 2017-12-20 00:39:21 +00:00
moz.configure Bug 1366287 - Part 1.0: Define a new BigInt primitive type, with a GDB prettyprinter, Rust binding support, and a new out-of-line TraceKind. (Disabled by default, implemented only incompletely, currently passing --enable-bigint will disable JITs, will be flipped on Eventually once every sub-aspect is in place, Don't Have A Cow, Man.) r=jwalden, r=Ms2ger, r=sfink 2018-05-24 11:26:09 -07:00