[kaffe] problem on arm/linux with todays CVS

Jim Pick jim at kaffe.org
Thu May 30 12:58:23 PDT 2002


I just tried a fresh checkout on my Netwinder (using the jit engine,
which is the default), and it sort of works (18 out of 114 tests fail
when doing "make check").  A simple "hello world" style program
definitely works.

Here's a dump of where it seems to diverge...

Loading java/util/Map$Entry.class(/usr/local/kaffe/jre/lib/rt.jar)
[compressed]
<JIT: java/util/HashMap.<init>(IF)V time 51ms (936ms) @ 0x147bf8>
<JIT: java/util/AbstractMap.<init>()V time 1ms (937ms) @ 0x1357c8>
<JIT:
java/util/Hashtable.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; time 2ms (939ms) @ 0x14b428>
<JIT:
java/util/HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; time 6ms (945ms) @ 0x151048>
<JIT: java/util/HashMap.bucket(Ljava/lang/Object;I)I time 1ms (946ms) @
0x14b5f8>
<JIT: java/lang/String.hashCode()I time 4ms (950ms) @ 0x14b218>
<JIT:
java/util/HashMap.find(Ljava/lang/Object;I)Ljava/util/HashMap$Entry;
time 3ms (953ms) @ 0x14b7e8>
<JIT:
java/util/HashMap$Entry.<init>(Ljava/util/HashMap;Ljava/lang/Object;Ljava/lang/Object;)V time 1ms (954ms) @ 0x14bbc8>
<JIT:
java/util/AbstractMapEntry.<init>(Ljava/lang/Object;Ljava/lang/Object;)V
time 2ms (956ms) @ 0xf9c80>
<JIT:
java/util/HashMap$Entry.access$001(Ljava/util/HashMap$Entry;Ljava/util/HashMap$Entry;)Ljava/util/HashMap$Entry; time 2ms (958ms) @ 0xedb50>
<JIT: java/lang/String.equals(Ljava/lang/Object;)Z time 3ms (961ms) @
0x147800>
<JIT:
java/util/HashMap$Entry.access$000(Ljava/util/HashMap$Entry;)Ljava/util/HashMap$Entry; time 1ms (962ms) @ 0x131a28>
<JIT: java/util/HashMap.rehash()V time 3ms (965ms) @ 0x152030>
<JIT:
java/lang/ClassLoader.getSystemResourceAsStream(Ljava/lang/String;)Ljava/io/InputStream; time 2ms (967ms) @ 0x144ae8>
Loading
kaffe/lang/SystemClassLoader.class(/usr/local/kaffe/jre/lib/rt.jar)
[compressed]
... and so on...

Things are getting JIT'd in slightly different order, but that's about
all I can make from that.

It doesn't seem like the -verbosecall option is working at all.  Hmmm. 
That output would probably be helpful in trying to narrow it down.

Cheers,

 - Jim

On Wed, 2002-05-29 at 04:38, Alexander Popov wrote:
> Hi,
> 
> I've just crossed the CVS code from 29 05 2002 for arm but the VM 
> doesn't seem to work at all. Here is the starting string and the output 
> that I get:
> 
> ./kaffe -v -verbosegc -verbosejit -verbosecall -classpath 
> /home/kaffe2/jre/lib/rt.jar:/mnt/local Hello
> 
> <cut>
> Loading 
> java/lang/ClassNotFoundException.class(/home/kaffe2/jre/lib/rt.jar) 
> [compressed]
> Loading java/util/Properties.class(/home/kaffe2/jre/lib/rt.jar) [compressed]
> Loading java/util/Hashtable.class(/home/kaffe2/jre/lib/rt.jar) [compressed]
> Loading java/util/Dictionary.class(/home/kaffe2/jre/lib/rt.jar) [compressed]
> Loading java/util/Map.class(/home/kaffe2/jre/lib/rt.jar) [compressed]
> Loading java/io/InputStream.class(/home/kaffe2/jre/lib/rt.jar) [compressed]
> Loading java/io/BufferedInputStream.class(/home/kaffe2/jre/lib/rt.jar) 
> [compressed]
> Loading java/io/FilterInputStream.class(/home/kaffe2/jre/lib/rt.jar) 
> [compressed]
> Loading kaffe/io/StdInputStream.class(/home/kaffe2/jre/lib/rt.jar) 
> [compressed]
> Loading java/io/PrintStream.class(/home/kaffe2/jre/lib/rt.jar) [compressed]
> Loading java/io/FilterOutputStream.class(/home/kaffe2/jre/lib/rt.jar) 
> [compressed]
> Loading java/io/OutputStream.class(/home/kaffe2/jre/lib/rt.jar) [compressed]
> Loading java/io/BufferedOutputStream.class(/home/kaffe2/jre/lib/rt.jar) 
> [compressed]
> Loading kaffe/io/StdOutputStream.class(/home/kaffe2/jre/lib/rt.jar) 
> [compressed]
> Loading kaffe/io/StdErrorStream.class(/home/kaffe2/jre/lib/rt.jar) 
> [compressed]
> Loading java/io/FileInputStream.class(/home/kaffe2/jre/lib/rt.jar) 
> [compressed]
> Loading java/io/FileDescriptor.class(/home/kaffe2/jre/lib/rt.jar) 
> [compressed]
> Loading java/io/FileOutputStream.class(/home/kaffe2/jre/lib/rt.jar) 
> [compressed]
> <JIT: java/lang/System.<clinit>()V time 272ms (345ms) @ 0x213e038>
> <JIT: java/util/Hashtable.<clinit>()V time 1ms (346ms) @ 0x2126078>
> <JIT: java/util/Properties.<clinit>()V time 1ms (347ms) @ 0x2126078>
> <JIT: java/util/Properties.<init>()V time 2ms (349ms) @ 0x21284c8>
> <JIT: java/util/Properties.<init>(Ljava/util/Properties;)V time 2ms 
> (351ms) @ 0x2128588>
> <JIT: java/util/Hashtable.<init>()V time 2ms (353ms) @ 0x20e7908>
> Loading java/util/HashMap.class(/home/kaffe2/jre/lib/rt.jar) [compressed]
> Loading java/util/AbstractMap.class(/home/kaffe2/jre/lib/rt.jar) 
> [compressed]
> <JIT: java/util/Hashtable.<init>(IF)V time 55ms (408ms) @ 0x21357f0>
> <JIT: java/util/Dictionary.<init>()V time 1ms (409ms) @ 0x2128708>
> <JIT: java/util/HashMap.<clinit>()V time 1ms (410ms) @ 0x2126078>
> Loading 
> java/lang/IllegalArgumentException.class(/home/kaffe2/jre/lib/rt.jar) 
> [compressed]
> Loading java/util/HashMap$Entry.class(/home/kaffe2/jre/lib/rt.jar) 
> [compressed]
> Loading java/util/AbstractMapEntry.class(/home/kaffe2/jre/lib/rt.jar) 
> [compressed]
> Loading java/util/Map$Entry.class(/home/kaffe2/jre/lib/rt.jar) [compressed]
> <JIT: java/util/HashMap.<init>(IF)V time 43ms (453ms) @ 0x213bbf8>
> <JIT: java/util/AbstractMap.<init>()V time 1ms (454ms) @ 0x21287c8>
> <JIT: 
> java/util/Hashtable.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 
> time 2ms (456ms) @ 0x2143048>
> <JIT: 
> java/util/HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 
> time 4ms (460ms) @ 0x2141048>
> <JIT: java/util/HashMap.bucket(Ljava/lang/Object;I)I time 1ms (461ms) @ 
> 0x2143218>
> <JIT: java/lang/String.hashCode()I time 2ms (463ms) @ 0x2135db8>
> <JIT: 
> java/util/HashMap.find(Ljava/lang/Object;I)Ljava/util/HashMap$Entry; 
> time 2ms (465ms) @ 0x2143408>
> <JIT: 
> java/util/HashMap$Entry.<init>(Ljava/util/HashMap;Ljava/lang/Object;Ljava/lang/Object;)V 
> time 2ms (467ms) @ 0x21437e8>
> <JIT: 
> java/util/AbstractMapEntry.<init>(Ljava/lang/Object;Ljava/lang/Object;)V 
> time 2ms (469ms) @ 0x20e7c80>
> <JIT: 
> java/util/HashMap$Entry.access$001(Ljava/util/HashMap$Entry;Ljava/util/HashMap$Entry;)Ljava/util/HashMap$Entry; 
> time 1ms (470ms) @ 0x20c9bd0>
> <JIT: java/util/HashMap.rehash()V time 3ms (473ms) @ 0x213b800>
> <JIT: 
> java/util/HashMap$Entry.access$000(Ljava/util/HashMap$Entry;)Ljava/util/HashMap$Entry; 
> time 1ms (474ms) @ 0x212a8a8>
> <JIT: java/lang/String.equals(Ljava/lang/Object;)Z time 3ms (477ms) @ 
> 0x2140418>
> 
> Here the VM exits with no exceptions or errors...
> If you wan't I can put up some additional dumps to see what happens with 
> String.equals().
> 
> Regards,
> -- 
> Alexander Popov
> Team Leader RTOS&JVM
> ProSyst Bulgaria
> s_popov at prosyst.bg
> mobile: +35987663193
> icq: 29207350
> 
> 
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe






More information about the kaffe mailing list