DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
JavaScript Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
JavaScript
Why does V8 split the heap into a young and old generation?
A
To support more total memory than a single region could hold
B
Because most objects die young — a smaller, frequently-collected young generation is cheap, while a larger, rarely-collected old generation avoids expensive full-heap scans on every collection
C
Old objects are less important than new ones
D
It's required by the JavaScript specification
Check Answer