0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal/per_context
Joyee Cheung 08a9c4a996 bootstrap: delay the instantiation of maps in per-context scripts
Instantiating maps renders the snapshot non-rehashable
(v8 currently fails silently during `CreateBlob()`).
Then the hash seed would always be the same and not
recomputed if custom V8 snapshot is enabled. This patch
delays the instantiation of the maps in domexception.js
and make it lazy.

PR-URL: https://github.com/nodejs/node/pull/27371
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2019-04-26 07:23:42 +02:00
..
domexception.js bootstrap: delay the instantiation of maps in per-context scripts 2019-04-26 07:23:42 +02:00
primordials.js lib: create primordials in every context 2019-04-13 17:53:25 +08:00
setup.js lib: remove Atomics.wake 2019-04-03 16:55:59 -05:00