GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build: disable v8 snapshot compression by default · nodejs/node@1ddc438

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • configure.py
  • tools/v8_gypfiles
    • features.gypi
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎configure.py‎

Copy file name to clipboardExpand all lines: configure.py
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,12 @@
834834
help='Enable V8 short builtin calls support. This feature is enabled '+
835835
'on x86_64 platform by default.')
836836

837+
parser.add_argument('--v8-enable-snapshot-compression',
838+
action='store_true',
839+
dest='v8_enable_snapshot_compression',
840+
default=None,
841+
help='Enable the built-in snapshot compression in V8.')
842+
837843
parser.add_argument('--node-builtin-modules-path',
838844
action='store',
839845
dest='node_builtin_modules_path',
@@ -1535,6 +1541,8 @@ def configure_v8(o):
15351541
o['variables']['v8_enable_hugepage'] = 1 if options.v8_enable_hugepage else 0
15361542
if options.v8_enable_short_builtin_calls or o['variables']['target_arch'] == 'x64':
15371543
o['variables']['v8_enable_short_builtin_calls'] = 1
1544+
if options.v8_enable_snapshot_compression:
1545+
o['variables']['v8_enable_snapshot_compression'] = 1
15381546
if options.v8_enable_object_print and options.v8_disable_object_print:
15391547
raise Exception(
15401548
'Only one of the --v8-enable-object-print or --v8-disable-object-print options '
Collapse file

‎tools/v8_gypfiles/features.gypi‎

Copy file name to clipboardExpand all lines: tools/v8_gypfiles/features.gypi
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
'v8_enable_regexp_interpreter_threaded_dispatch%': 1,
212212

213213
# Disable all snapshot compression.
214-
'v8_enable_snapshot_compression%': 1,
214+
'v8_enable_snapshot_compression%': 0,
215215

216216
# Enable control-flow integrity features, such as pointer authentication
217217
# for ARM64.

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.