debugging threads vs processes

Jeff Sturm jsturm@one-point.com
Fri Jul 13 08:36:00 GMT 2001


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /