Sha256: 30d1ab44a03ffd3f30ed014e3352f05f1de88d74da6835e359f1937195a63ae9

Contents?: true

Size: 715 Bytes

Versions: 5

Compression:

Stored size: 715 Bytes

Contents

diff --git a/tools/v8_gypfiles/features.gypi b/tools/v8_gypfiles/features.gypi
index 6e21dac6d7..bcf022fb28 100644
--- a/tools/v8_gypfiles/features.gypi
+++ b/tools/v8_gypfiles/features.gypi
@@ -73,7 +73,10 @@
       }, {
         'v8_enable_etw_stack_walking': 0,
       }],
-      ['OS=="linux"', {
+      # Disable madvise(MADV_DONTFORK), it's a great optimization for programs
+      # that fork & exec but not for programs that fork and keep running.
+      # It makes mini_racer's test/test_forking.rb test segfault.
+      ['False and OS=="linux"', {
         # Sets -dV8_ENABLE_PRIVATE_MAPPING_FORK_OPTIMIZATION.
         #
         # This flag speeds up the performance of fork/execve on Linux systems for

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
libv8-node-23.6.1.0 patch/v8-disable-madv-dontfork.patch
libv8-node-22.7.0.4 patch/v8-disable-madv-dontfork.patch
libv8-node-22.7.0.3 patch/v8-disable-madv-dontfork.patch
libv8-node-22.7.0.2 patch/v8-disable-madv-dontfork.patch
libv8-node-22.7.0.1 patch/v8-disable-madv-dontfork.patch