GC high level overview/documentation?

Ethan gooberman at gmail.com
Thu Mar 13 06:14:02 PDT 2014


Ahoy.

For those that don't know (ie almost everyone here), I'm Ethan.
I've known Manu since 2002 and worked with him at Krome and
Remedy. I'm still at Remedy, and I've been the point man for D
usage and integration since Manu left.

I'm finally taking a look at the garbage collector and memory
management. D's memory footprint for our usage is pretty low at
the moment, so the GC is really fast because collect never gets
triggered. That's going to change before the end of the project
though, so I'm going to get on top of it before it becomes a
problem.

Is there a high level overview of how the runtime expects the
garbage collector to behave anywhere, or any kind of
documentation outside of the core.memory and garbage collection
documentation on dlang.org? If there isn't, I'll probably end up
documenting it myself as I go through and learn how it works. I
expect I'll miss things or make silly mistakes though, so if this
documentation already exists that would be quite beneficial.

I'll likely be branching off/creating a new GC for our needs, so
becoming rather knowledgeable on the GC is something I need to do.

Thanks all.


More information about the Digitalmars-d mailing list