[kaffe] CVS kaffe (robilad): Resynced with gjdoc: support for -classpath and a ton of other things

2004-12-21 Thread Kaffe CVS
PatchSet 5706 Date: 2004/12/22 01:09:35 Author: robilad Branch: HEAD Tag: (none) Log: Resynced with gjdoc: support for -classpath and a ton of other things Members: ChangeLog:1.3251->1.3252 Makefile.in:1.189->1.190 THIRDPARTY:1.26->1.27 aclocal.m4:1.115->1.116

[kaffe] CVS kaffe (stack): Revert change that can cause a memory leak and add some tweaks to

2004-12-21 Thread Kaffe CVS
PatchSet 5705 Date: 2004/12/22 00:22:01 Author: stack Branch: HEAD Tag: (none) Log: Revert change that can cause a memory leak and add some tweaks to eliminate some warnings. Members: ChangeLog:1.3250->1.3251 kaffe/kaffeh/support.c:1.46->1.47 kaffe/kaffevm/external.c:1

[kaffe] CVS kaffe (stack): Bring jit1 up-to-date with respect to jit3's jitCodeHeader stuff.

2004-12-21 Thread Kaffe CVS
PatchSet 5704 Date: 2004/12/21 22:21:35 Author: stack Branch: HEAD Tag: (none) Log: Bring jit1 up-to-date with respect to jit3's jitCodeHeader stuff. Members: ChangeLog:1.3249->1.3250 kaffe/kaffevm/jit/machine.c:1.72->1.73 kaffe/kaffevm/jit/machine.h:1.19->1.20

Re: [kaffe] CVS kaffe (stack): Checkpoint of jitter for linux/ppc.

2004-12-21 Thread Timothy Stack
> No problem. > > You have defined a jitCodeHeader structure in jit3/machine.h. > This structure is not defined in jit/machine.h though it is used by > stackTrace.c because JIT is also a TRANSLATOR ;) . Oh, I'm sorry, I didn't catch that it was a jit1 vs. jit3 issue. I was just thinking it was

Re: [kaffe] CVS kaffe (stack): Checkpoint of jitter for linux/ppc.

2004-12-21 Thread Guilhem Lavaux
Timothy Stack wrote: Hi Tim, Your patch is great but you have forgotten the code compatibility with JIT for jitCodeHeader. I think it is simple to adapt but could you do it ? It breaks the compilation on platforms which only supports JIT. I don't understand the problem... Do you have some o

[kaffe] CVS kaffe (guilhem): Fix to bootstrap with the new ClassLoader.

2004-12-21 Thread Kaffe CVS
PatchSet 5701 Date: 2004/12/21 17:31:24 Author: guilhem Branch: HEAD Tag: (none) Log: Fix to bootstrap with the new ClassLoader. * libraries/clib/native/Class.c (getProtectionDomain): Fixed return type. * libraries/javalib/Makefile.am.in: Removed an extra '\'. *

Re: [kaffe] classloader merging

2004-12-21 Thread Helmer Krämer
Guilhem Lavaux <[EMAIL PROTECTED]> wrote: Hi, > It looks fine to me. I've made some modifications to makefiles/classlist > so kjc is still able to bootstrap. So when you have committed your patch > I'll commit mine. I've just committed mine, hoping I didn't break too much stuff ;) Regards, He

[kaffe] CVS kaffe (guilhem): Added two more missing files for KJC.

2004-12-21 Thread Kaffe CVS
PatchSet 5703 Date: 2004/12/21 18:03:58 Author: guilhem Branch: HEAD Tag: (none) Log: Added two more missing files for KJC. * libraries/javalib/Klasses.jar.bootstrap: Regenerated. * libraries/javalib/bootstrap.classlist: Added two missing classes for KJC. Members:

[kaffe] CVS kaffe (hkraemer): merged java.lang.ClassLoader from GNU Classpath

2004-12-21 Thread Kaffe CVS
PatchSet 5700 Date: 2004/12/21 16:51:01 Author: hkraemer Branch: HEAD Tag: (none) Log: merged java.lang.ClassLoader from GNU Classpath Members: ChangeLog:1.3245->1.3246 include/Makefile.am:1.79->1.80 include/Makefile.in:1.197->1.198 kaffe/kaffe/main.c:1.73->1.

[kaffe] CVS kaffe (stack): Fix a simple syntax error.

2004-12-21 Thread Kaffe CVS
PatchSet 5702 Date: 2004/12/21 17:56:39 Author: stack Branch: HEAD Tag: (none) Log: Fix a simple syntax error. Members: ChangeLog:1.3247->1.3248 kaffe/kaffevm/external.c:1.74->1.75 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.3247 kaffe/ChangeLog:1.3248 --- kaffe/ChangeLo

Re: [kaffe] CVS kaffe (stack): Checkpoint of jitter for linux/ppc.

2004-12-21 Thread Timothy Stack
> > Hi Tim, > > Your patch is great but you have forgotten the code compatibility with > JIT for jitCodeHeader. > I think it is simple to adapt but could you do it ? It breaks the > compilation on platforms which > only supports JIT. I don't understand the problem... Do you have some output I

Re: [kaffe] CVS kaffe (doogie): Various gcc and sparse fixes all

2004-12-21 Thread Adam Heath
On Tue, 21 Dec 2004, Timothy Stack wrote: > > > > > > I think the removal of these two KFREE calls will leak memory, won't it? > > > > hand.base is const. It should never have been freed in the first place. > > Eh? The "const" means the contents of the array aren't going to change, > not that it

Re: [kaffe] CVS kaffe (doogie): Various gcc and sparse fixes all

2004-12-21 Thread Timothy Stack
> > On Tue, 21 Dec 2004, Timothy Stack wrote: > > > > On Tue, 21 Dec 2004, Timothy Stack wrote: > > > > > > Eh? The "const" means the contents of the array aren't going to change, > > > > not that it points to static memory. > > > > > But you also can't free static memory. > > > > > > And yes, t

Re: [kaffe] CVS kaffe (doogie): Various gcc and sparse fixes all

2004-12-21 Thread Adam Heath
On Tue, 21 Dec 2004, Timothy Stack wrote: > > On Tue, 21 Dec 2004, Timothy Stack wrote: > > > > Eh? The "const" means the contents of the array aren't going to change, > > > not that it points to static memory. > > > But you also can't free static memory. > > > > And yes, that was being attempted

Re: [kaffe] CVS kaffe (doogie): Various gcc and sparse fixes all

2004-12-21 Thread Timothy Stack
> On Tue, 21 Dec 2004, Timothy Stack wrote: > > Eh? The "const" means the contents of the array aren't going to change, > > not that it points to static memory. > But you also can't free static memory. > > And yes, that was being attempted. When and where was this happening? Please be specifi

Re: [kaffe] CVS kaffe (doogie): Various gcc and sparse fixes all

2004-12-21 Thread Timothy Stack
> > > > I think the removal of these two KFREE calls will leak memory, won't it? > > hand.base is const. It should never have been freed in the first place. Eh? The "const" means the contents of the array aren't going to change, not that it points to static memory. From findInJar.c:

Re: [kaffe] CVS kaffe (doogie): Various gcc and sparse fixes all over the board.

2004-12-21 Thread Adam Heath
On Tue, 21 Dec 2004, Helmer [ISO-8859-15] Krämer wrote: > On Tue, 21 Dec 2004 00:11:20 -0800 > Kaffe CVS <[EMAIL PROTECTED]> wrote: > > Hi, > > > @@ -66,7 +66,7 @@ > > > > #if defined(HANDLE_MANIFEST_CLASSPATH) > > static int isEntryInClasspath(const char*); > > -static uint8* getManifestMainAtt

Re: [kaffe] CVS kaffe (stack): Checkpoint of jitter for linux/ppc. It still doesn't fully work, but

2004-12-21 Thread Guilhem Lavaux
Hi Tim, Your patch is great but you have forgotten the code compatibility with JIT for jitCodeHeader. I think it is simple to adapt but could you do it ? It breaks the compilation on platforms which only supports JIT. Thanks a lot, Regards, Guilhem Lavaux. ___

[kaffe] bug report, TestSerialVersions.java check failed

2004-12-21 Thread TaoPin
after I make install the kaffe-1.1.4 and "make check" it reports the error of "FAIL: TestSerialVersions.java" the complete output is as following: taopin --- [EMAIL PROTECTED] kaffe-1.1.4]# make check Making check in . make[1]: Enteri

Re: [kaffe] race during thread creation and gc invocation

2004-12-21 Thread Guilhem Lavaux
Helmer Krämer wrote: Guilhem Lavaux <[EMAIL PROTECTED]> wrote: I think that we may skip the marking of thread and its internals but we should continue to mark the stack of the thread. So I suggest we move the call to TwalkThreads at the beginning of liveThreadWalker and do as you have suggest

[kaffe] CVS kaffe (hkraemer): fixed race between gc invocation and thread initialization

2004-12-21 Thread Kaffe CVS
PatchSet 5699 Date: 2004/12/21 11:46:51 Author: hkraemer Branch: HEAD Tag: (none) Log: fixed race between gc invocation and thread initialization Members: ChangeLog:1.3244->1.3245 kaffe/kaffevm/threadData.h:1.4->1.5 kaffe/kaffevm/kaffe-gc/gc-refs.c:1.7->1.8 Index: ka

Re: [kaffe] race during thread creation and gc invocation

2004-12-21 Thread Helmer Krämer
Guilhem Lavaux <[EMAIL PROTECTED]> wrote: > I think that we may skip the marking of thread and its internals but we > should continue to mark the stack of the thread. So I suggest we move > the call to TwalkThreads at the beginning of liveThreadWalker and do as > you have suggested. Ok, I've c

Re: [kaffe] CVS kaffe (doogie): Various gcc and sparse fixes all over the board.

2004-12-21 Thread Helmer Krämer
On Tue, 21 Dec 2004 00:11:20 -0800 Kaffe CVS <[EMAIL PROTECTED]> wrote: Hi, > @@ -66,7 +66,7 @@ > > #if defined(HANDLE_MANIFEST_CLASSPATH) > static int isEntryInClasspath(const char*); > -static uint8* getManifestMainAttribute(jarFile*, char*); > +static uint8* getManifestMainAttribute(jarFil

[kaffe] CVS kaffe (doogie): Added myself.

2004-12-21 Thread Kaffe CVS
PatchSet 5695 Date: 2004/12/21 08:07:12 Author: doogie Branch: HEAD Tag: (none) Log: Added myself. Members: AUTHORS:1.3->1.4 ChangeLog:1.3241->1.3242 Index: kaffe/AUTHORS diff -u kaffe/AUTHORS:1.3 kaffe/AUTHORS:1.4 --- kaffe/AUTHORS:1.3 Thu Oct 16 17:13:57 2003 +++ kaffe/AU

[kaffe] CVS kaffe (robilad): Reverted the ltdl.c change again, sigh.

2004-12-21 Thread Kaffe CVS
PatchSet 5698 Date: 2004/12/21 08:57:38 Author: robilad Branch: HEAD Tag: (none) Log: Reverted the ltdl.c change again, sigh. Members: libltdl/ltdl.c:1.42->1.43 Index: kaffe/libltdl/ltdl.c diff -u kaffe/libltdl/ltdl.c:1.42 kaffe/libltdl/ltdl.c:1.43 --- kaffe/libltdl/ltdl.c:1.42 Tue

[kaffe] CVS kaffe (robilad): Reverted the ltdl.c change again, sigh.

2004-12-21 Thread Kaffe CVS
PatchSet 5698 Date: 2004/12/21 08:57:38 Author: robilad Branch: HEAD Tag: (none) Log: Reverted the ltdl.c change again, sigh. Members: libltdl/ltdl.c:1.42->1.43 Index: kaffe/libltdl/ltdl.c diff -u kaffe/libltdl/ltdl.c:1.42 kaffe/libltdl/ltdl.c:1.43 --- kaffe/libltdl/ltdl.c:1.42 Tue

[kaffe] CVS kaffe (robilad): No comment

2004-12-21 Thread Kaffe CVS
___ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

[kaffe] CVS kaffe (doogie): Various gcc and sparse fixes all over the board.

2004-12-21 Thread Kaffe CVS
PatchSet 5694 Date: 2004/12/21 08:06:31 Author: doogie Branch: HEAD Tag: (none) Log: Various gcc and sparse fixes all over the board. Members: ChangeLog:1.3240->1.3241 kaffe/kaffevm/classMethod.c:1.129->1.130 kaffe/kaffevm/findInJar.c:1.62->1.63 kaffe/kaffevm/