how to use GC as a leak detector? i.e. get some help info from GC?
Leandro Lucarella
llucax at gmail.com
Mon May 25 13:12:56 PDT 2009
nobody, el 25 de mayo a las 18:31 me escribiste:
> == 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?
I think libphobos2.a contains libdruntime.a, but I'm not sure. You better
check the sources.
> > > > 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
Oh, I saw that, thank you.
--
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
Robar un alfajor es revolucionario, pues rompe con la idea de propiedad,
incluso más que si se tratara de dinero.
-- publikazion anarkista mdp (hablando de los destrozos de la
Cumbre de las Americas en Mar del Plata, 2005)
More information about the Digitalmars-d
mailing list