On Jul 5, 2011, at 11:02 AM, Christian Thalinger wrote: > On Jul 5, 2011, at 4:16 AM, Mark Roos wrote: >> 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) > > Oracle's proxies give me a hard time here. What protocol is this connection > using?
Alright. I found a server that isn't behind the proxy and I could run the test. Unfortunately the three downloaded ST source files are not stored locally, it seems, so I can't run the test on other machines. Anyway, this is on SPARC with b147: $ java -version java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode) $ java -cp RtalkTest.jar ri.experiment2.RtalkTest 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 time: 4878.925912 mS time: 321.360917 mS time: 322.038166 mS time: 320.213417 mS time: 330.795416 mS time: 365.27075 mS time: 310.016 mS time: 310.753751 mS time: 321.485999 mS time: 310.197167 mS invoke done RtTestCases RtPackageLoader terminated normally. Receive thread ended. > > -- Christian > >> 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. >> >> _______________________________________________ >> mlvm-dev mailing list >> mlvm-dev@openjdk.java.net >> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
_______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev