[kaffe] Re: bugwatcher problems

Timothy Stack stack@cs.utah.edu
Thu Jan 22 07:50:02 2004


> 
> Hi Mark, hi Tim,

hi,

> Mark Wielaard wrote:
> > Hi,
> > 
> > On Wed, 2004-01-14 at 12:32, Mark Howard wrote:
> > 
> > The Debian kaffe package is compiled with unix-jthreads, but gtk
> > (java-gnome) needs pthread support. When you recompile kaffe configured
> > --with-threads=unix-pthreads then you can play with bugwatcher like you
> > can with gij. (Thread system unix-pthread is also needed to run e.g.
> > Eclipse with swt/gtk bindings).
> > 
> > What do the kaffe developers think. Should kaffe default to pthreads on
> > systems that support it? 
> 
> Yeah, seems like that would make sense. Especially as one doesn't have 
> to deal with figuring out SP_OFFSET and FP_OFFSET, which seems to be 
> quite tricky on arm-linux, for example.

> Tim, what's your take on this?

I agree...  The Autoconf Archive (ac-archive.sf.net) has a few macros for 
detecting all the different versions of pthreads if you want to try and 
implement this.

> I've seen that JanosVM 1.0 includes a new 
> threading system, jthreads2, would it make sense to merge it in, and use 
> it instead of jthreads where possible?

Maybe, it won't be anymore portable than jthreads1 since it still uses a
lot of the same *_OFFSET stuff, and it has a lot of code for
JanosVM-specific stuff (resource control, multiple schedulers).  On the
good side, i think it is a bit more robust and has a cleaner structure.

> cheers,
> dalibor topic

tim