digitalmars.D.learn - How can i track the GC when it's runing?
- Dsby (2/2) Jan 25 2016 I want to know How can i track the GC when it's runing?
- Gary Willoughby (4/6) Jan 25 2016 There is a good resource here:
- cym13 (4/6) Jan 25 2016 Something that isn't on Garry's link: if using dmd you can pass
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?
Jan 25 2016
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.
Jan 25 2016
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.
Jan 25 2016