Tag Archives: memory management

Thinking About Object Lifetime

Several times in the last few years, I have written about the subject of memory management, garbage collection, and object lifetime. Some of essays I’ve written on this subject include: The Semantics of Garbage Collection More Thoughts on Resource Recovery Other Resource Recovery Approaches Resource Management Revisited Recently, I was thinking about this issue again… Read More »

Resource Management Revisited

A couple of years ago, I wrote a set of three essays on Resource Management: The Semantics of Garbage Collection, More Thoughts on Resource Recovery, and Other Resource Recovery Approaches. In summary, my argument in these articles was that the standard mark-and-sweep garbage collection falls down for two major reasons, it doesn’t deal with any… Read More »

Other Resource Recovery Approaches

In The Semantics of Garbage Collection, I explained why I don’t like the term garbage collection. I also introduced the term resource recovery, and suggested that this change in naming could generate a useful change in viewpoint. In the next article, More Thoughts on Resource Recovery, I traced some of the history and side effects… Read More »

More Thoughts on Resource Recovery

In The Semantics of Garbage Collection, I explained why I don’t like the term garbage collection. I also introduced the term resource recovery, and suggested that this change in naming could generate a useful change in viewpoint. Many programmers have been indoctrinated with the belief that garbage collection is the solution to all memory problems,… Read More »