I think I generally know what the Garbage Collector in Java does, but It's praised a lot, so I thought maybe I'm missing something about it's functionality. What I know is, that the GC takes care of erasing from the memory objects that have no reference to them, and thus are unreachable by the programmer. For example, if inside a loop I'm constantly creating a new Object(), the previous ones will eventually get deleted by the GC (correct me if I'm wrong). This is very useful for me as a Java ...| Recent Questions - Software Engineering Stack Exchange
Pro .NET Memory Management 2nd Edition is available! What should you expect from it? Should you buy it if you already own the 1st edition?| minidump.net
Using NativeAOT to write a .NET GC in C#. In the fourth part, we see how walk the heap and how to keep track of allocation contexts.| minidump.net
Using NativeAOT to write a .NET GC in C#. The third part adds some tooling to inspect the objects stored on the heap.| minidump.net
In the first part, we prepared the project and fixed an initialization issue caused by the NativeAOT toolchain. In this second part, we’re going to start the implementation of our GC. The target for now is to build the simplest possible GC that can run basic .NET applications. This GC will only allocate memory and never free it, similar to Konrad Kokosa’s bump-pointer GC. The first step is to write the native interfaces we’re going to need.| minidump.net