Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 2004 12:06:22 -0400
From:      Brian Feldman <green@FreeBSD.org>
To:        MANTANI Nobutaka <nobutaka@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/devel/boehm-gc Makefile ports/devel/boehm-gc/files patch-dbg_mlc.c patch-include-gc.h
Message-ID:  <20040524160622.GA82333@green.homeunix.org>
In-Reply-To: <200405241454.i4OEsuwI042448@repoman.freebsd.org>
References:  <200405241454.i4OEsuwI042448@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040524160622.GA82333>