On Thu, 19 Nov 2009 17:25:19 -0600, Kirk Wolf <[email protected]> wrote:
>Please, not again..... haven't we many times hashed over why Java is
>not in practice "interpreted".
>For most things, its performance is not that far from "C". When
>"Java" is slow, its almost always due to poor design (and
>programmers). Have you looked at the machine code generated by the
>Java JVM? Its great stuff, and automatically recompiles "hot" method
>stacks with fancy inlining, loop unwinding, etc as your program runs.
I don't know if it's undeserved or not, but Java on z does have a reputation
for being a resource hog. I just ran the hello world sample program on a z10
: it took 6 seconds elapsed time and required a region size of 96M (yes,
that's 96 MEGABYTES!). Just to print "hello world". And that doesn't include
the compile.
Scale this up and it's not surprising that IBM are reporting record sales of
z hardware!
Roger Bowler
Hercules "the people's mainframe"
PS: Here's the program:
public class test1 {
public static void main (String args[]) {
System.out.println("test1: Java on zSeries");
}
}
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html