| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -489,6 +489,12 @@ | |||
| 489 | 489 | default=None, | |
| 490 | 490 | help='[Experimental] Enable V8 pointer compression (limits max heap to 4GB and breaks ABI compatibility)') | |
| 491 | 491 | ||
| 492 | + parser.add_argument('--disable-shared-readonly-heap', | ||
| 493 | + action='store_true', | ||
| 494 | + dest='disable_shared_ro_heap', | ||
| 495 | + default=None, | ||
| 496 | + help='Disable the shared read-only heap feature in V8') | ||
| 497 | + | ||
| 492 | 498 | parser.add_argument('--v8-options', | |
| 493 | 499 | action='store', | |
| 494 | 500 | dest='v8_options', | |
@@ -1524,7 +1530,7 @@ def configure_v8(o): | |||
| 1524 | 1530 | o['variables']['v8_use_siphash'] = 0 if options.without_siphash else 1 | |
| 1525 | 1531 | o['variables']['v8_enable_pointer_compression'] = 1 if options.enable_pointer_compression else 0 | |
| 1526 | 1532 | o['variables']['v8_enable_31bit_smis_on_64bit_arch'] = 1 if options.enable_pointer_compression else 0 | |
| 1527 | - o['variables']['v8_enable_shared_ro_heap'] = 0 if options.enable_pointer_compression else 1 | ||
| 1533 | + o['variables']['v8_enable_shared_ro_heap'] = 0 if options.enable_pointer_compression or options.disable_shared_ro_heap else 1 | ||
| 1528 | 1534 | o['variables']['v8_trace_maps'] = 1 if options.trace_maps else 0 | |
| 1529 | 1535 | o['variables']['node_use_v8_platform'] = b(not options.without_v8_platform) | |
| 1530 | 1536 | o['variables']['node_use_bundled_v8'] = b(not options.without_bundled_v8) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -70,6 +70,7 @@ set link_module= | |||
| 70 | 70 | set no_cctest= | |
| 71 | 71 | set cctest= | |
| 72 | 72 | set openssl_no_asm= | |
| 73 | + set no_shared_roheap= | ||
| 73 | 74 | set doc= | |
| 74 | 75 | set extra_msbuild_args= | |
| 75 | 76 | set exit_code=0 | |
@@ -149,6 +150,7 @@ if /i "%1"=="link-module" set "link_module= --link-module=%2%link_module%"&got | |||
| 149 | 150 | if /i "%1"=="no-cctest" set no_cctest=1&goto arg-ok | |
| 150 | 151 | if /i "%1"=="cctest" set cctest=1&goto arg-ok | |
| 151 | 152 | if /i "%1"=="openssl-no-asm" set openssl_no_asm=1&goto arg-ok | |
| 153 | + if /i "%1"=="no-shared-roheap" set no_shared_roheap=1&goto arg-ok | ||
| 152 | 154 | if /i "%1"=="doc" set doc=1&goto arg-ok | |
| 153 | 155 | if /i "%1"=="binlog" set extra_msbuild_args=/binaryLogger:%config%\node.binlog&goto arg-ok | |
| 154 | 156 | ||
@@ -206,6 +208,7 @@ if defined config_flags set configure_flags=%configure_flags% %config_flags% | |||
| 206 | 208 | if defined target_arch set configure_flags=%configure_flags% --dest-cpu=%target_arch% | |
| 207 | 209 | if defined debug_nghttp2 set configure_flags=%configure_flags% --debug-nghttp2 | |
| 208 | 210 | if defined openssl_no_asm set configure_flags=%configure_flags% --openssl-no-asm | |
| 211 | + if defined no_shared_roheap set configure_flags=%configure_flags% --disable-shared-readonly-heap | ||
| 209 | 212 | if defined DEBUG_HELPER set configure_flags=%configure_flags% --verbose | |
| 210 | 213 | if "%target_arch%"=="x86" if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set configure_flags=%configure_flags% --no-cross-compiling | |
| 211 | 214 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments