[kaffe] Big pile of warnings fixes

2004-11-03 Thread Eric Anholt
Just in case someone was sitting around with nothing to do, here's a big pile of diffs, mostly warning fixes. - kaffe-warn-AccessController.c.diff Warnings fixes which probably matter on 64-bit (assuming that a non-prototyped function returns int, instead of pointer). - kaffe-warn-jni.c.diff Clea

[kaffe] [gmane.comp.version-control.subversion.devel] Javahl, alternative to jikes & Debian

2004-11-03 Thread Tom Tromey
I saw this on the subversion devel list, thought you'd be interested. I've got a fix for the jni.h issue that affected libgcj (the NewObjectArray one). I'll check it in to classpath too -- I don't remember if we're sharing this file or not (but we should). --- Begin Message --- I've been tryin

[kaffe] Kaffe 1.1.4 on Gumstix

2004-11-03 Thread patt reveur
Sorry for the spam but hotmail sent a HTML text so that this is the previous mail Hi Just few words to say that we have compiled (on i586 Linux-box) and runned successfully kaffe 1.1.4 on a gumstix board using the dedicated Linux and uClibC toolchain as described in the gumstix homepage (www.g

[kaffe] Kaffe 1.1.4 on Gumstix

2004-11-03 Thread patt reveur
Hi   Just few words to say that we have compiled (on i586 Linux-box) and runned successfully kaffe 1.1.4 on a gumstix board using the dedicated Linux and uClibC toolchain as described in the gumstix homepage (www.gumstix.com)   We have also an application which use a recompiled version of the regul

RE: [kaffe] Why does Kaffe's register allocator spill slots in theboundary of basic blocks?

2004-11-03 Thread Bytecode
On Thu, 4 Nov 2004 00:16:20 +0800 "Bytecode" <[EMAIL PROTECTED]> wrote: > > I'm optimizing the register allocation mechod in kaffe. > I find that the current register allocator spills "dirty" slots in the > exit of each basic block by calling function endBlock(). Why? Kaffe's register allocato

[kaffe] CVS kaffe (guilhem): PThreads fixes.

2004-11-03 Thread Kaffe CVS
PatchSet 5397 Date: 2004/11/03 19:25:49 Author: guilhem Branch: HEAD Tag: (none) Log: PThreads fixes. 2004-11-02 Eric Anholt <[EMAIL PROTECTED]> * kaffe/kaffevm/systems/unix-pthreads/thread-impl.c, kaffe/kaffevm/systems/unix-pthreads/thread-impl.h (jthread_atexit, jthr

Re: [kaffe] Pthreads diff

2004-11-03 Thread Guilhem Lavaux
Eric Anholt wrote: Attached is a patch for a few things I noticed while going through pthreads: - jthread_atexit wasn't implemented, so runfinalizer wouldn't get called. - jthread_spinon/off wasn't implemented (used in enter/leaveUnsafeRegion), so there may have been thread-unsafeness in some libra

[kaffe] CVS kaffe (guilhem): Serialization fixes.

2004-11-03 Thread Kaffe CVS
PatchSet 5396 Date: 2004/11/03 17:45:18 Author: guilhem Branch: HEAD Tag: (none) Log: Serialization fixes. * libraries/javalib/java/io/Vector.java, libraries/javalib/java/io/ObjectOutputStream.java: Resynced with GNU Classpath. 2004-11-02 Mattias Rehnberg <[EMA

Re: [kaffe] Misc. serialization patches

2004-11-03 Thread Guilhem Lavaux
Mattias Rehnberg wrote: Hi, Refering to the document at the URL below, 'classdata' will be writen on the form 'wrclass objectAnnotation' if it has a write method instead of just 'nowrclass'. Since objectAnnotation is a least an endBlockData byte, you'll get that byte when you try to deserialize

[kaffe] Pthreads diff

2004-11-03 Thread Eric Anholt
Attached is a patch for a few things I noticed while going through pthreads: - jthread_atexit wasn't implemented, so runfinalizer wouldn't get called. - jthread_spinon/off wasn't implemented (used in enter/leaveUnsafeRegion), so there may have been thread-unsafeness in some library stuff. - incr/d

Re: [kaffe] Why does Kaffe's register allocator spill slots in the boundary of basic blocks?

2004-11-03 Thread Helmer Krämer
On Thu, 4 Nov 2004 00:16:20 +0800 "Bytecode" <[EMAIL PROTECTED]> wrote: > > I'm optimizing the register allocation mechod in kaffe. > I find that the current register allocator spills "dirty" slots in the exit > of each basic block by calling function endBlock(). Why? Kaffe's register allocator

Re: [kaffe] Why does Kaffe's register allocator spill slots in the

2004-11-03 Thread Timothy Stack
> > > I'm optimizing the register allocation mechod in kaffe. > I find that the current register allocator spills "dirty" slots in the exit > of each basic block by calling function endBlock(). Why? You might want to scan through the old mail archive when the jitter was under development, you c

[kaffe] Why does Kaffe's register allocator spill slots in the boundary of basic blocks?

2004-11-03 Thread Bytecode
I'm optimizing the register allocation mechod in kaffe. I find that the current register allocator spills "dirty" slots in the exit of each basic block by calling function endBlock(). Why? Thanks. ___ kaffe mailing list [EMAIL PROTECTED] http://kaff

Re: [kaffe] kaffe on morphos

2004-11-03 Thread Helmer Krämer
On Fri, 29 Oct 2004 19:45:50 + Michael Grunditz <[EMAIL PROTECTED]> wrote: > Hi > > I have compiled latest kaffe on MorphOS. When I run "java" on a class I get > the folowing: > > Couldn't find or load essential class `java/lang/Class' > java.lang.ClassFormatError unknown class file truncate

Re: [kaffe] kaffe fails to build on ppc with gcc-3.4

2004-11-03 Thread Helmer Krämer
On Tue, 02 Nov 2004 14:49:43 +0100 Arnaud Vandyck <[EMAIL PROTECTED]> wrote: > Hi all, > > Here is the build log that fails when trying to build kaffe on ppc with > gcc-3.4 Could you try without the --with-libffi option (kaffe should work on ppc without libffi). Meanwhile, I'll have a look at w

[kaffe] the terrible segmentation fault

2004-11-03 Thread 程明
Hi,everyone, I have two problems: 1.When I run my ported Kaffe on THUMP 107, Kaffe runs into the initBaseClasses() function of baseClasses.c, each execution of loadStaticClass(&javaLangDoubleClass, "java/lang/Double"); loadStaticClass(&javaLangVMThrowable, "java/lang/VMThrowable"); loadStaticClass(