All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Analysis of Recent Developments in V8 JavaScript Engine's Garbage Collector

By

swah

6mo ago· 10 min readenInsight

Summary

This article provides a technical analysis of recent developments in V8 JavaScript engine's garbage collector over the past few years. The author conducted a comprehensive review of approximately 1600 commits to the V8 heap source code, examining commit logs, code changes, bug reports, and design documents. The analysis reveals that Google has dedicated about 4 full-time equivalent engineers to V8's garbage collector during this period, with a consistent commit rate. The article serves as a follow-up to the author's previous 5-year review of V8's GC developments, offering insights into the ongoing evolution of memory management in the JavaScript engine.

Key quotes

· 4 pulled
Following up on my article about 5 years of developments in V8's garbage collector, today I'd like to bring that up to date with what went down in V8's GC over the last couple years.
I selected all of the commits to src/heap since my previous roundup. There were 1600 of them, including reverts and relands.
I read all of the commit logs, some of the changes, some of the linked bugs, and any design document I could get my hands on.
From what I can tell, there have been about 4 FTE from Google over this period, and the commit rate is fairly con
Snippet from the RSS feed
wingolog: article: the last couple years in v8's garbage collector

You might also wanna read