digitalmars.D - GC high level overview/documentation?
- Ethan (21/21) Mar 13 2014 Ahoy.
- Manu (2/3) Mar 13 2014 Gday bloke! Fancy seeing you around here :)
- Daniel Murphy (4/11) Mar 13 2014 Not as far as I know. One thing that may be helpful is searching for cl...
- safety0ff (3/3) Mar 13 2014 Leandro Lucarella's blog contains a large amount of relevant
- Chris Williams (4/8) Mar 13 2014 There was a presentation at last year's DConf by Sociomantic on
- Ethan (7/10) Mar 14 2014 Yeah, Manu put me on the Rainer Schütze's talk from DConf, which
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.
Mar 13 2014
On 13 March 2014 23:14, Ethan <gooberman gmail.com> wrote:Ahoy.Gday bloke! Fancy seeing you around here :)
Mar 13 2014
"Ethan" wrote in message news:dohuegdsqrdwfzycmsic forum.dlang.org...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.Not as far as I know. One thing that may be helpful is searching for closed bugzilla issues and pull requests that touch the GC, as some of these contain very useful information about how things are supposed to work.
Mar 13 2014
Leandro Lucarella's blog contains a large amount of relevant information: http://www.llucax.com.ar/blog/blog/tag/understanding%20the%20current%20gc
Mar 13 2014
On Thursday, 13 March 2014 at 13:14:03 UTC, Ethan wrote: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?There was a presentation at last year's DConf by Sociomantic on their replacement GC. I believe that it included a bit of info on the internals of the original collector, though.
Mar 13 2014
On Thursday, 13 March 2014 at 19:44:18 UTC, Chris Williams wrote:There was a presentation at last year's DConf by Sociomantic on their replacement GC. I believe that it included a bit of info on the internals of the original collector, though.Yeah, Manu put me on the Rainer Schütze's talk from DConf, which definitely gets more to where I want to be from the start. My initial investigations made me do a double take when I saw that the default garbage collector scans entire blocks of memory for pointers rather than the blocks of memory known to hold pointers. Thanks for the input, all.
Mar 14 2014