GeezerVison is showing github.com — deps: V8: cherry-pick 497c2e6a2434 · nodejs/node@8a9c7cc
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: common.gypi +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
44 | 44 |
|
45 | 45 | # Reset this number to 0 on major V8 upgrades. |
46 | 46 | # Increment by one for each non-official patch applied to deps/v8. |
47 | | - 'v8_embedder_string': '-node.40', |
| 47 | + 'v8_embedder_string': '-node.41', |
48 | 48 |
|
49 | 49 | ##### V8 defaults for Node.js ##### |
50 | 50 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: deps/v8/src/heap/mark-compact.cc +1-11Lines changed: 1 addition & 11 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -2536,17 +2536,7 @@ void MarkCompactCollector::RetainMaps() { |
2536 | 2536 | MarkingHelper::WorklistTarget::kRegular, map); |
2537 | 2537 | } |
2538 | 2538 | } |
2539 | | - Tagged<Object> prototype = map->prototype(); |
2540 | | - if (age > 0 && IsHeapObject(prototype) && |
2541 | | - MarkingHelper::IsUnmarkedAndNotAlwaysLive( |
2542 | | - heap_, marking_state_, Cast<HeapObject>(prototype))) { |
2543 | | - // The prototype is not marked, age the map. |
2544 | | - new_age = age - 1; |
2545 | | - } else { |
2546 | | - // The prototype and the constructor are marked, this map keeps only |
2547 | | - // transition tree alive, not JSObjects. Do not age the map. |
2548 | | - new_age = age; |
2549 | | - } |
| 2539 | + new_age = age > 0 ? age - 1 : 0; |
2550 | 2540 | } else { |
2551 | 2541 | new_age = v8_flags.retain_maps_for_n_gc; |
2552 | 2542 | } |
|