how to use GC as a leak detector? i.e. get some help info from GC?

nobody no at where.com
Mon May 25 11:31:05 PDT 2009


== Quote from Leandro Lucarella (llucax at gmail.com)'s article
> nobody, el 25 de mayo a las 03:24 me escribiste:
> > > As other asked, are you using D1 Tango/Phobos? D2? In Tango/D2 you can
> >
> > DMD v2.030  on Linux.
> >
> > > enable logging in the GC (using the LOGGING version identifier).
> >
> > How to do it in D2?
> You should recompile Druntime's GC with -version=LOGGING.

When linking does DMD link against libphobos2.a, libdruntime.a or both?

> > > Is your program source available? I'm gathering programs to make a D GC
> >
> > Sorry, no.
> =(

But I have posted a simple example earlier, it's silly, but disable GC get 5x
speed up:

http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D&artnum=90983



More information about the Digitalmars-d mailing list