0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-26 09:13:46 -05:00

set v8_enable_private_mapping_fork_optimization = true (#1535)

This commit is contained in:
Ryan Dahl 2024-07-23 10:07:07 -04:00 committed by GitHub
parent 18c633d567
commit 979f3d87d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

7
.gn
View file

@ -36,6 +36,13 @@ default_args = {
v8_use_external_startup_data = false
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
v8_use_zlib = false
v8_enable_snapshot_compression = false