Profiling DMD's Compilation Time with dmdprof

Neia Neutuladh neia at ikeran.org
Thu Nov 8 03:51:59 UTC 2018


On Thu, 08 Nov 2018 14:35:29 +1300, rikki cattermole wrote:
> Its a symptom of a larger set of problems. The frontend is not quite
> ready to have the GC turned on full time.
> 
> Based upon my testing, that little memory leak prevents pretty much
> *all* memory allocated by the GC to not be collected. I don't know why,
> but for some reason it pins it. Mind you, my testing could have been
> flawed, and needs more eyes on it *shrug*.

In the short term, that means turning on the GC won't do much, but it at 
least probably won't hurt.

In the long term, that bug might be covering up crashes and memory 
corruption, so turning it on by default is not a great idea.


More information about the Digitalmars-d-announce mailing list