diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2019-04-23 20:24:23 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-04-26 08:23:42 +0300 |
commit | 08a9c4a996964aca909cd75fa8ecafd652c54885 (patch) | |
tree | 41fdc49f11e9e293d26257b95be88a9cd04e84c3 /src/aliased_buffer.h | |
parent | 5ab65cff8d95faa6ebd91f20b77156a520dc3ac2 (diff) |
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>
Diffstat (limited to 'src/aliased_buffer.h')
0 files changed, 0 insertions, 0 deletions