mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-25 15:29:43 -05:00
set v8_enable_private_mapping_fork_optimization = true (#1535)
This commit is contained in:
parent
18c633d567
commit
979f3d87d1
1 changed files with 7 additions and 0 deletions
7
.gn
7
.gn
|
@ -36,6 +36,13 @@ default_args = {
|
||||||
v8_use_external_startup_data = false
|
v8_use_external_startup_data = false
|
||||||
v8_use_snapshot = true
|
v8_use_snapshot = true
|
||||||
|
|
||||||
|
# This flag speeds up the performance of fork/execve on Linux systems for
|
||||||
|
# embedders which use it (like Node.js). It works by marking the pages that
|
||||||
|
# V8 allocates as MADV_DONTFORK. Without MADV_DONTFORK, the Linux kernel
|
||||||
|
# spends a long time manipulating page mappings on fork and exec which the
|
||||||
|
# child process doesn't generally need to access.
|
||||||
|
v8_enable_private_mapping_fork_optimization = true
|
||||||
|
|
||||||
# We prefer embedders to bring their own compression
|
# We prefer embedders to bring their own compression
|
||||||
v8_use_zlib = false
|
v8_use_zlib = false
|
||||||
v8_enable_snapshot_compression = false
|
v8_enable_snapshot_compression = false
|
||||||
|
|
Loading…
Reference in a new issue