Up to now, we have been focusing on where memory management actually occurs, the heap. But this is not the only memory segment relevant to a program. Indeed, in all garbage collected techniques, there’re other players having a relevant role in the game: the mutator and the root set. In the reference counted garbage collection, […]
Resource Management
Garbage Collectors in the real world

We saw the essentially two only ways to do Garbage Collection, and we saw their naive disadvantages. I say naive, because we saw the very simplistic implementations. Like anything else in computer sciences, Garbage Collectors are an extremely optimised-(able) tool. Lets give it a quick intuitive thought. Tracing undergoes long pause times, mostly because it […]
Resource Management in perspective: the Heap

How do you deal with memory in Assembly? Well, you basically tell the processor to access this field in memory, and don’t tell the processor to access this other one. As I mentioned last time, from a traditional perspective memory can be managed manually or automatically. The assembly idea is where C builds onto, with added […]
Everybody does Resource Management

«C programmers think memory management is too important to be left to the computer. Lisp programmers think memory management is too important to be left to the user.»