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
Written by Michał Piotrowski2025-03-05
Garbage collection theory – Basic Algorithms
GC Theory Article
Reading Time: 5 minutesIn the world of garbage collection, there are three algorithms, that are the founding stone for all the other. In this article I will try to briefly introduce all of them – reference counting algorithm, mark-sweep and copying algorithm. More detailed articles about them will follow in the weeks to come. The reference counting algorithm

- 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)