Garbage collection thumbnail
Garbage collection
javascript.info
There’s a base set of inherently reachable values, that cannot be deleted for obvious reasons. Simply put, “reachable” values are those that are accessible or usable somehow. Any other value is considered reachable if it’s reachable from a root by a reference or by a chain of references. The basic g
10 Users
0 Comments
67 Highlights
0 Notes

Top Highlights

  • There’s a base set of inherently reachable values, that cannot be deleted for obvious reasons.
  • Simply put, “reachable” values are those that are accessible or usable somehow.
  • Any other value is considered reachable if it’s reachable from a root by a reference or by a chain of references.
  • The basic garbage collection algorithm is called
  • Generational collection – objects are split into two sets: “new ones” and “old ones”.

Ready to highlight and find good content?

Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.