Re: How can i track the GC when it's runing?
On Monday, 25 January 2016 at 09:33:15 UTC, Dsby wrote: I want to know How can i track the GC when it's runing? And Which algorithm is D's GC used,only Scan-Mark? Something that isn't on Garry's link: if using dmd you can pass the "-profile=gc" flag which will do the GC configuration so that you get a summary of all allocations at the end of the program.
How can i track the GC when it's runing?
I want to know How can i track the GC when it's runing? And Which algorithm is D's GC used,only Scan-Mark?
Re: How can i track the GC when it's runing?
On Monday, 25 January 2016 at 09:33:15 UTC, Dsby wrote: I want to know How can i track the GC when it's runing? And Which algorithm is D's GC used,only Scan-Mark? There is a good resource here: https://dlang.org/spec/garbage.html It details compiler flags to use to profile and log the GC usage.