Re: [Gc] Re: Threads leak memory?
ivmai at mail.ru
Fri Oct 24 11:32:17 PDT 2008
<ludo at gnu.org> (Ludovic CourtХs) wrote:
> Ivan Maidanski <ivmai at mail.ru> writes:
> > First of all, try to use GC7.2a1 (from CVS).
> OK, will do. Are there thread-related fixes specifically?
Hard to say, there has been lots of small changes.
> > Next, what is the config of GC You using (like, with or without thread-local-alloc, etc.)?
> It's the default configuration on GNU/Linux with GCC 4.2, so it has
> `THREAD_LOCAL_ALLOC' and `USE_COMPILER_TLS' for instance.
> > Could You reproduce this behaviour without USE_MMAP, with/without USE_MUNMAP?
> It's currently running without `USE_MMAP' (it's not defined by default
> on this platform, as shown by `config.log').
But, nonetheless, mmap() is used.
> I just compiled 7.1 with `USE_MMAP'[*] and the program exhibits the same
Try without THREAD_LOCAL_ALLOC, PARALLEL_MARK (if on by default); with/without USE_MUNMAP. (And turn on GC_ASSERTIONS).
More information about the Gc