File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 38
38
39
39
# Reset this number to 0 on major V8 upgrades.
40
40
# Increment by one for each non-official patch applied to deps/v8.
41
- 'v8_embedder_string' : '-node.21 ' ,
41
+ 'v8_embedder_string' : '-node.22 ' ,
42
42
43
43
##### V8 defaults for Node.js #####
44
44
Original file line number Diff line number Diff line change @@ -473,6 +473,15 @@ uint32_t ComputeFlagListHash() {
473
473
if (flag.PointsTo (&v8_flags.random_seed )) continue ;
474
474
if (flag.PointsTo (&v8_flags.predictable )) continue ;
475
475
476
+ // These flags are not relevant for code caching and are often set by
477
+ // embedders to tune memory usage.
478
+ if (flag.PointsTo (&v8_flags.max_old_space_size ) ||
479
+ flag.PointsTo (&v8_flags.min_semi_space_size ) ||
480
+ flag.PointsTo (&v8_flags.max_semi_space_size ) ||
481
+ flag.PointsTo (&v8_flags.max_heap_size )) {
482
+ continue ;
483
+ }
484
+
476
485
// The following flags are implied by --predictable (some negated).
477
486
if (flag.PointsTo (&v8_flags.concurrent_sparkplug ) ||
478
487
flag.PointsTo (&v8_flags.concurrent_recompilation ) ||
You can’t perform that action at this time.
0 commit comments