thin locks (was Re: libgcj/117:)

Jeff Sturm jsturm@sigma6.com
Fri Dec 10 13:42:00 GMT 1999


Godmar Back wrote:
> What version of libpthread are you referring to?
> Linux-threads 0.71 uses a non-generic implementation only for
> the alpha. The generic implementation takes two branches in the
> common case. I assume you're referring to a newer version.

I looked at whatever linuxthreads goes with glibc 2.1.1. I don't think
it is separate anymore, is it?
> Maybe I was a bit too strong in saying "would eliminate any advantage".
> It would of course be a lot faster than the current way. I think it
> depends on how high you're aiming.

Sure. But reimplementing linuxthreads functionality doesn't seem very
feasible. If we need to rewrite specific parts espeically for libgcj we
had better at least still be compatible with what linuxthreads is doing.
Note that the IBM JDK runs on linuxthreads too...
-- 
Jeff Sturm
jsturm@sigma6.com


More information about the Java mailing list

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