This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: debugging threads vs processes
- To: Tom Tromey <tromey at redhat dot com>
- Subject: Re: debugging threads vs processes
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Fri, 13 Jul 2001 13:13:30 -0400 (EDT)
- cc: Per Bothner <per at bothner dot com>, java-discuss at sources dot redhat dot com
On 13 Jul 2001, Tom Tromey wrote:
> Jeff> Hmm... are you loading libgcj.so dynamically? The GC may not
> Jeff> track threads properly unless it is loaded at startup.
>
> It might be worse than that. boehm-gc overrides various pthread_*
> functions so that it can keep track of what is going on. Apache might
> need to be recompiled so that it calls these functions.
Yep, link order matters. I'm still curious to see if LD_PRELOAD solves it
without a recompile. I think it should.
> At least, if Apache uses threads and if it can create new threads that
> use libgcj without notifying the GC.
As I understand it, that's the point of Per's new invocation interface.
Jeff