Written by Michał Piotrowski2025-03-15
Garbage collection theory – Reference counting
GC Theory Article
Reading Time: 9 minutesReference counting is one of its kind GC algorithm. I’ve covered it briefly in the introductory post about GC theory. In this article, we’ll dive into it deeper. Let’s go! How to deal with ref-counting deficiencies? There are two main problems with ref-counting algorithms. First, it has problems with cyclic objects, resulting in possible memory

- May 2025 (2)
- April 2025 (6)
- March 2025 (8)
- February 2025 (6)
- January 2025 (7)
- December 2024 (6)
- November 2024 (8)
- October 2024 (12)
- September 2024 (15)
- August 2024 (16)
- July 2024 (16)
- June 2024 (7)
- AWS (3)
- Back To Basics (5)
- Blog (1)
- Book Review (14)
- Certification (3)
- Erlang (1)
- GC Theory (7)
- Go (1)
- Java (2)
- Kubernetes (1)
- Monthly summary (4)
- Valuable links (53)
- Weekly summary (19)