Errors on OSX version with loading
Mark Roos
mroos at roos.com
Mon Jul 4 19:16:11 PDT 2011
Ok here is is, a test case for our port of Smalltalk to the JVM using
292. Let me know if you can run it as this is our first outside attempt.
Its a simple test, towers of Hanoi done in a recursive manner. This
version only uses
20 disks as it is much slower than expected ( about 1 sec / pass ).
Something I plan to look at.
Its available at ftp.roos.com ( about 1 meg ) user is javadev and password
is mlvm
The jar file is RtalkTest.jar with an example batch file as well ( the
class with main is ri/experiment2/Test )
When run the following happens:
The loader contacts the smalltalk server ( gurudev.roos.com) and
downloads 3 ST source files ( with byte codes)
A Smalltalk image is built in java memory using this code
A object is created and a method performed.
This perform is done 10 times with timing.
In my case on the mac it fails. but on Oscar's windows setup it succeeds.
input and suggestions welcome.
regards
mark
you should see the following:
mark-rooss-MacBook-Pro:documents markroos$ ./rtalk
start booting
init rtalk
INFO
ACTIONS
RiObjectIdentifier
ACTIONS
RtPackageLoader
Booting Base Code...
init rtalk
start reading the cff
init base classes
Loading Base Extensions...
start reading the cff
Loading Overwrites F...
start reading the cff
Loading Compiler...
start reading the cff
ACTIONS
RiObjectIdentifier
CHECKSUM
MethodHandle(RtObject,RtObject)RtObject
invoke starting
java.lang.NoClassDefFoundError: ri/core/rtalk/RtObject
at java.lang.invoke.MethodHandle.invokeExact(MethodHandle.java)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::2)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::28)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::19)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::28)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::28)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::28)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::28)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::28)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::19)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::19)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::19)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::19)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::28)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::28)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::19)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::19)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::19)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::19)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::19)
at ri.core.rtalk.RtCallSite.fallbackSelf(RtCallSite.java:255)
at ri.pbc.Class/1030888162.invoke(RtTestCases
testHanoiMove:from:to:temp::19)
at ri.core.rtalk.RtCallSite.fallbackSelf(RtCallSite.java:255)
at ri.pbc.Class/367840545.invoke(RtTestCases testHanoi::7)
at ri.experiment2.RtalkTest.executeMhTest(RtalkTest.java:76)
at ri.experiment2.RtalkTest.testImageLoad(RtalkTest.java:102)
at ri.experiment2.RtalkTest.main(RtalkTest.java:25)
time: 48.687 mS
9 more times and then
invoke done
null
RtPackageLoader terminated normally.
Receive thread ended.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110704/931d879e/attachment.html
More information about the mlvm-dev
mailing list