cvs commit: ports/devel/boehm-gc Makefile ports/devel/boehm-gc/files patch-dbg_mlc.c patch-include-gc.h

Brian Feldman green at FreeBSD.org
Mon May 24 09:06:24 PDT 2004


On Mon, May 24, 2004 at 07:54:56AM -0700, MANTANI Nobutaka wrote:
> nobutaka    2004/05/24 07:54:56 PDT
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     devel/boehm-gc       Makefile 
>   Added files:
>     devel/boehm-gc/files patch-dbg_mlc.c patch-include-gc.h 
>   Log:
>   Add four knobs (WITH_THREADING, WITH_PARALLEL_MARK, WITH_REDIRECT and WITH_FULLDEBUG).
>   Use OPTIONS.
>   Fix a bug in leak detection.

Specifcally, for those that are curious, the bug is that the wrong PC
is stored when you're using WITH_REDIRECT so that the otherwise-useful
leak instruction address actually gets spammed with a local one from
inside libgc; instead, it now reaches back up another frame to get the
right one.

There's also a small improvement in the leak detection report code
that tries to look up the symbol for you using dladdr(3), but this
generally only works for library functions and not those in the
main executable; in any case, it's not worse than printing "unknown".

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green at FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\


More information about the cvs-ports mailing list