Re: [kaffe] JNI Memory leak

2006-03-15 Thread Guilhem Lavaux
Hi Fernando, ExceptionOccured() returns a reference to the exception object. The object is pushed on the local reference table (as do some other VM, which is logical as it is a reference). You should use ExceptionCheck instead: it returns a boolean which is true if an exception occured and no

[kaffe] CVS kaffe (robilad): small warning fix

2006-03-15 Thread Kaffe CVS
PatchSet 7150 Date: 2006/03/15 21:20:23 Author: robilad Branch: HEAD Tag: (none) Log: small warning fix 2006-03-15 Dalibor Topic <[EMAIL PROTECTED]> * kaffe/kaffevm/exception.c: Include methodcalls.h. * kaffe/kaffevm/jit/methodcalls.h: (engine_dispatchException) Added missing prototype. Mem

Re: [kaffe] ppc: mouse keyboard problems with kaffe 1.1.7rc1

2006-03-15 Thread Mark Wielaard
Hi Bernhard, On Wed, 2006-03-15 at 15:42 +0100, Bernhard Reiter wrote: > > On Wed, 2006-03-15 at 11:35 +0100, Bernhard Reiter wrote: > > Yes. If you have a small testcase for the keyboard issue that would be > > appreciated. > > I have attached a smal test application. > It shows the problem her

Re: [kaffe] ppc: mouse keyboard problems with kaffe 1.1.7rc1

2006-03-15 Thread Bernhard Reiter
Am Mittwoch, 15. März 2006 11:45 schrieb Mark Wielaard: I found out that the version in kaffe 1.1.7rc1 is too different to use the patch. So I could not test the fix so far. > On Wed, 2006-03-15 at 11:35 +0100, Bernhard Reiter wrote: > > From looking at the diff I believe that this would not aff

[kaffe] JNI Memory leak

2006-03-15 Thread Fernando Silveira
Hi, I'm developing a JNI library to work with Kaffe and I'm having a kind of memory leak issue. Sometimes my lib needs to instantiate Java objects and call some methods. If the objects are created and the methods are called with success (without exceptions or errors) everything works fine. Someti

Re: [kaffe] ppc: mouse keyboard problems with kaffe 1.1.7rc1

2006-03-15 Thread Mark Wielaard
On Sun, 2006-03-12 at 18:17 +0100, Bernhard Reiter wrote: > Am Samstag, 11. März 2006 13:50 schrieb Dalibor Topic: > > It turns out that GNU Classpath has a bug that prevents any > > events from being shown. I'll file your test case in the Classpath bug > > tracker and CC: you on it. Once that regr

Re: [kaffe] ppc: mouse keyboard problems with kaffe 1.1.7rc1

2006-03-15 Thread Mark Wielaard
Hi Bernhard, On Wed, 2006-03-15 at 11:35 +0100, Bernhard Reiter wrote: > From looking at the diff I believe that this would not affect keyboard events, > so the keyboard bug might still be in there. Yes. If you have a small testcase for the keyboard issue that would be appreciated. Your TestMouse

Re: [kaffe] ppc: mouse keyboard problems with kaffe 1.1.7rc1

2006-03-15 Thread Bernhard Reiter
Hi Mark, thanks for the fix and the information. Note that my tests also discovered problems with keyboard events, though my testcase did not include code for this. Interesting enough Kaffe-1.1.7rc1 was working on ia586 for mouse and keyboard events. This was packaged by Mandriva, so I am not

[kaffe] threads problem

2006-03-15 Thread Ioannis Liverezas
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