This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: debugging threads vs processes




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]