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 — deps: V8: cherry-pick 497c2e6a2434 · nodejs/node@8a9c7cc

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • common.gypi
  • deps/v8/src/heap
    • mark-compact.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎common.gypi‎

Copy file name to clipboardExpand all lines: common.gypi
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
# Reset this number to 0 on major V8 upgrades.
4646
# Increment by one for each non-official patch applied to deps/v8.
47-
'v8_embedder_string': '-node.40',
47+
'v8_embedder_string': '-node.41',
4848

4949
##### V8 defaults for Node.js #####
5050

Collapse file

‎deps/v8/src/heap/mark-compact.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/heap/mark-compact.cc
+1-11Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2536,17 +2536,7 @@ void MarkCompactCollector::RetainMaps() {
25362536
MarkingHelper::WorklistTarget::kRegular, map);
25372537
}
25382538
}
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;
25502540
} else {
25512541
new_age = v8_flags.retain_maps_for_n_gc;
25522542
}

0 commit comments

Comments
0 (0)
You are visitor 01402775 — 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.