Hooking into GC

Martin Nowak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 29 18:26:47 PDT 2016


On Wednesday, 29 June 2016 at 14:41:48 UTC, MMJones wrote:
> On Wednesday, 29 June 2016 at 10:07:19 UTC, Martin Nowak wrote:
> How will this affect the trackallocs module? Will it break it, 
> replace it? Essentially a merge of it? Should I hold off until 
> 2.072 or go ahead and use the stub. I only need monitoring, not 
> replacement of the GC.

It'll break it b/c we've replaced the proxy with a real interface.
I think your use-case is fully covered by the GC profiler 
(http://forum.dlang.org/thread/mi62uu$14lu$1@digitalmars.com) and 
GC stats (https://dlang.org/spec/garbage.html#gc_config, 
https://github.com/dlang/druntime/pull/1591).


More information about the Digitalmars-d-learn mailing list