Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VM Performance / Java to Machine Code Compiler



On Monday, April 26, 2004, at 12:59 PM, Moises Lejter wrote:

At 12:46 PM 4/26/2004, Erik wrote:

Speculation aside, anybody have any first hand knowledge of this
stuff?

Not first hand :-) - but a web search found:

http://www.spindazzle.org/benchmarks/

I don't know if gcj is available by default on 10.3 it wasn't 10.2.
Just so we can say we have all the fun toys I went ahead and built it. Appears like it will work anyhow at 10.2.

public class HelloWorld {

public static void main(String[] args) {
System.out.println("gcj Hello, World!");
}
}

[Black-box:~/gcc/bin] mjh% ./gcj --main=HelloWorld -Wall HelloWorld.java -o hello
[Black-box:~/gcc/bin] mjh% ./hello
gcj Hello, World!

I did a bootstrap build of gcc 3.4 including gcj.
One or two oddities in the build but not terribly difficult considering I know near to nothing about this build process.

I am putting the result on my iDisk if anyone just wants to start playing. I wouldn't rush though I just started the upload on a 56k modem and the zipped build result is 54M. Yeah, that took a while.

iDisk
http://homepage.mac.com/r0805/FileSharing.html
gcc.zip

I didn't see a license to include but I didn't really change anything, just muddled through the build.
Now maybe figure out to use it on Rhino like the page you indicated mentioned.
If anyone does figure out how to use it to generate comparable numbers I might be somewhat interested in seeing them.

Mike Hall <mikehall at spacestar dot net>
<http://www.spacestar.net/users/mikehall>
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: VM Performance / Java to Machine Code Compiler (From: Moises Lejter <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.