Hooking into GC

Martin Nowak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 29 22:39:30 PDT 2016


On Thursday, 30 June 2016 at 03:03:16 UTC, MMJones wrote:
> I need to get more info than just the memory usage. Like what 
> is using the memory.

That's what -profile-gc is for, it tracks allocations.
Give it a try, IIIRC it's missing explicit GC.malloc calls atm., 
but those should be rare anyhow and could be added.
http://dlang.org/changelog/2.068.0.html#profile-gc


More information about the Digitalmars-d-learn mailing list