Re: [kaffe] threads problem
Hi Ioannis, This is good news that at least the fix seems to correct most of the problems. Concerning the cpu usage with pthreads I expect it is correct that it really eats all the CPU (actually your test is meant to no ? :-)) The problem with jthreads is a bit more worrying. We really need to investigate this issue. I will try to run the same tests for as long on some computer I have to check if it is reproduceable. Good luck with cross-compilation ! Regards, Guilhem. Ioannis Liverezas wrote: Hi Guilhem, I 've tested your fix on x86 with pthreads and it has been running for a whole day. On the other hand It seems that it generates high CPU usage and the system seems almost frozen. I could hardly move the mouse pointer. The testing host is a Centrino 1.6GHz laptop. I 've also tested x86 with jthreads.The jthreads system runs smoother and stresses the cpu less, but after a lot of hours (15.5) it failed: Thread: Time100 :sync :1 Alive:15/03/2006, 06:20:25.843 Test started at 14/03/2006, 14:53:09.864 SLEEP INTERRUPTED TimeA15000: i = 111100499 Thread: TimeA15000 :sync :1 Alive:15/03/2006, 06:20:26.419 kaffe-bin: jthread.c:2452: jmutex_unlock: Assertion `tid-status != 1' failed. Aborted Maybe I should dedicate a pc to run the pthreads test for some days to make sure that it is ok. I 'm trying to crosscompile and try on ARM (PXA 255), but I face some difficulties, possibly with zlib. I 'll let you know as soon as I make some progress with cross compiling Regards, Ioannis Liverezas ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] ppc: mouse keyboard problems with kaffe 1.1.7rc1
Hi Mark, Am Mittwoch, 15. März 2006 20:47 schrieb Mark Wielaard: Thanks. I see no key event is ever received by the Frame (this is on x86 for me). I have filed this as bug #26703 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26703 thanks for testing and filing the bug. Do you happen to know if this ever worked with kaffe in the past? To give you my full history: First I have tried: a) Mandriva (ia586) with their cooker kaffe package, probably Kaffe CVS from CVS (20060204) worked fine for me on the games.yahoo.com/go applets, I believe that this will use the classpath implementation of swing. Next I wanted this on powerpc and tried b) kaffe-1.1.7rc1 (my Debian backport on ppc): The go applet did display fine, but did not receive mouse or key events. Out of curiousiy I went deeper into the problem and thought it might be a ppc related problem, because it seemed to work on ia586 with seemingly the same version. Now I was looking at c) running example applications from www.javabuch.de using awt and swing on Debian. I found out that mouse and keyboard events did not work with the default setting, but worked using kaffe's other awt implementation; e.g. with kaffe -Xkaffe-xlib-awt TestKeyEvents . Trying to report the presumatley ppc related bug I have now learned: d) There seems to be generic event bugs in classpath for kaffe. And know looking closer I also see e) Mandriva has probably packages a CVS version after 1.1.7rc1 of Kaffe. Conclusion: next steps for me would be, i) try to test another version of classpath. I am unsure how to do this with kaffe without a new Debian version, so I might try jamvm, if this is easier on Debian. ii) Retest my two testcases for Mandriva. Bernhard ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] CVS kaffe (guilhem): Bug fix for nano-X
PatchSet 7151 Date: 2006/03/16 20:50:14 Author: guilhem Branch: HEAD Tag: (none) Log: Bug fix for nano-X Fix bug #23 * libraries/clib/awt/nano-X/img.c (imgCreateFromFile): Fixed JCL function invokation. Members: ChangeLog:1.4669-1.4670 libraries/clib/awt/nano-X/image.c:1.2-1.3 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.4669 kaffe/ChangeLog:1.4670 --- kaffe/ChangeLog:1.4669 Wed Mar 15 21:20:23 2006 +++ kaffe/ChangeLog Thu Mar 16 20:50:14 2006 @@ -1,3 +1,10 @@ +2006-03-16 Guilhem Lavaux [EMAIL PROTECTED] + + Fix bug #23 + + * libraries/clib/awt/nano-X/img.c + (imgCreateFromFile): Fixed JCL function invokation. + 2006-03-15 Dalibor Topic [EMAIL PROTECTED] * kaffe/kaffevm/exception.c: Include methodcalls.h. Index: kaffe/libraries/clib/awt/nano-X/image.c diff -u kaffe/libraries/clib/awt/nano-X/image.c:1.2 kaffe/libraries/clib/awt/nano-X/image.c:1.3 --- kaffe/libraries/clib/awt/nano-X/image.c:1.2 Wed Mar 8 21:07:48 2006 +++ kaffe/libraries/clib/awt/nano-X/image.c Thu Mar 16 20:50:17 2006 @@ -186,7 +186,7 @@ GrDestroyGC(gc); GrFreeImage(native_image); - return (jobject)JLC_GetRawData (envP, image); + return (jobject)JCL_NewRawDataObject (envP, image); } jobject ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
Re: [kaffe] ARM and kaffe
Oh well, I am working through similar issue. To make Kaffe workiing somehow set into configuration '--with-engine=interp'. It'll solve your problem but makes your kaffe working terrible slowly. The real problem is somewhere into JIT3 module and it is a memory management issue. I've sent a few letters to the guy whom ported it but no answer what so ever. I tried already but no luck. I had kaffe JIT3 95% working with MIPS after hacking up the 1.0.7 source base back in 2002. It failed 6-8 regression tests, but ran well enough to handle the embedded CaffeineMark benchmarks. Then 1.1.0 came out, which was a huge step backwards for non-x86 JIT3, and after beating my head against it for a week or two, I gave up. I was able to determine that incomplete internal data structures containing null pointers were being used, but couldn't figure out why, and whoever maintained JIT3 apparently couldn't care less about non-PC platforms. Regards, Kevin K. ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe