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.7 ' ,
41
+ 'v8_embedder_string' : '-node.8 ' ,
42
42
43
43
##### V8 defaults for Node.js #####
44
44
Original file line number Diff line number Diff line change @@ -477,6 +477,15 @@ uint32_t ComputeFlagListHash() {
477
477
if (flag.PointsTo (&v8_flags.random_seed )) continue ;
478
478
if (flag.PointsTo (&v8_flags.predictable )) continue ;
479
479
480
+ // These flags are not relevant for code caching and are often set by
481
+ // embedders to tune memory usage.
482
+ if (flag.PointsTo (&v8_flags.max_old_space_size ) ||
483
+ flag.PointsTo (&v8_flags.min_semi_space_size ) ||
484
+ flag.PointsTo (&v8_flags.max_semi_space_size ) ||
485
+ flag.PointsTo (&v8_flags.max_heap_size )) {
486
+ continue ;
487
+ }
488
+
480
489
// The following flags are implied by --predictable (some negated).
481
490
if (flag.PointsTo (&v8_flags.concurrent_sparkplug ) ||
482
491
flag.PointsTo (&v8_flags.concurrent_recompilation ) ||
You can’t perform that action at this time.
0 commit comments