fune/js
Jon Coppeard ef90924587 Bug 1828455 - Part 1: Use dynamic slots header to store unique IDs for native objects r=jandem
The patch adds a field to the dynamic slots header and uses it to store the
unique ID if present.  This allocates object slots with zero capacity when
setting a unqiue ID on an object that didn't previously have dynamic slots.

One issue is that we previously used the dynamic slot capacity to detect
whether dynamic slots were present (rather than using the shared empty slots).
The patch addresses this using a special value for the optional unique ID for
shared empty slots.

Tests pass and this reduces time on the weakmap benchmark from 66.1 ns to 50.6
ns, a reduction of 23.5%.

Differential Revision: https://phabricator.services.mozilla.com/D176066
2023-05-09 15:25:17 +00:00
..
examples Bug 1817347 - Prevent jorendb from spewing out enormous strings r=jonco 2023-03-23 21:07:06 +00:00
loader Bug 1822452 - Reject any remaining requests; r=jonco 2023-03-23 09:54:49 +00:00
public Bug 1830921 - Discard JIT code when disabling or enabling the nursery r=jandem 2023-05-09 08:47:59 +00:00
src Bug 1828455 - Part 1: Use dynamic slots header to store unique IDs for native objects r=jandem 2023-05-09 15:25:17 +00:00
xpconnect Bug 1825005 - Part 1: Add pref for well-formed-unicode-strings. r=arai 2023-05-08 18:16:27 +00:00
app.mozbuild
ffi.configure
moz.build
moz.configure Bug 1826741 - [riscv] Enable jit by default. r=jandem 2023-04-13 08:30:05 +00:00
sub.configure