[kaffe] strange OpenBSD/sparc hang
robilad at kaffe.org
Sun Mar 14 15:38:02 PST 2004
Dalibor Topic wrote:
> Ciao Riccardo,
> Riccardo wrote:
>> I build Kaffe on OpenBSD/sparc with the new compare/exchnage code that
>> seems to work on Solaris.
>> The VM builds fine, when building the libraries, the process stops at:
>> [ optimized and generated java.text.ChoiceFormat in 3,209 ms ]
>> and it remains there forever. AN analysis of top with the process
>> indicates it is "idle" and the process is in "poll" state.
> A quick grep through the source reveals that poll is only used by
> unix-jthreads. Could you try reconfiguring and rebuilding kaffe from
> scratch with posix threads ? For a more experimental feel, you could
> try commenting out the
> #define USE_POLL 1
> line in kaffe/kaffevm/systems/unix-jthreads/jthread.h, to see if that
Oh, and as a third solution, we might try to check for POLLIN | POLLHUP,
as suggested in http://cr.yp.to/docs/unixport.html .
More information about the kaffe