diff options
author | Michaƫl Zasso <targos@protonmail.com> | 2022-04-24 09:29:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-24 09:29:13 +0300 |
commit | daae938f32f2660a8cb7bf42891bc74b984c7f36 (patch) | |
tree | efe184e1ee83f6935dfdb080a15ff2931ff611e8 /configure.py | |
parent | 5ad47a0c2a587616f8d7c25e09f76dab389fdbf0 (diff) |
build: enable V8's shared read-only heap
It is what V8's build config does by default.
PR-URL: https://github.com/nodejs/node/pull/42809
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.py b/configure.py index ba118ef8db2..699f09d1957 100755 --- a/configure.py +++ b/configure.py @@ -1458,6 +1458,7 @@ def configure_v8(o): o['variables']['v8_use_siphash'] = 0 if options.without_siphash else 1 o['variables']['v8_enable_pointer_compression'] = 1 if options.enable_pointer_compression else 0 o['variables']['v8_enable_31bit_smis_on_64bit_arch'] = 1 if options.enable_pointer_compression else 0 + o['variables']['v8_enable_shared_ro_heap'] = 0 if options.enable_pointer_compression else 1 o['variables']['v8_trace_maps'] = 1 if options.trace_maps else 0 o['variables']['node_use_v8_platform'] = b(not options.without_v8_platform) o['variables']['node_use_bundled_v8'] = b(not options.without_bundled_v8) |