libjava test suite keeps getting stuck

Zack Weinberg zackw@stanford.edu
Thu Apr 19 10:12:00 GMT 2001


In the past the libjava test suite ran to completion in about fifteen
minutes.  Right now, some of its tests never finish.  dejagnu doesn't
time out, either; one of them sat for ten hours before I killed it.
They are not chewing CPU, fortunately.  Divide_1 seems to be the
first one that gets stuck.

If I run Divide_1 by hand it doesn't get stuck, it just prints

-2147483648
-2147483648
0
0
0
Exception in thread "main"

Does anyone have a clue what's going on here?

While I'm here, why is it that all Java programs are threaded?
Divide_1 doesn't need any threads but the library seems to call
pthread_create behind its back.  And I'd bet that this problem has
something to do with threads.

zw



More information about the Java mailing list