Linked by Thom Holwerda on Thu 4th May 2006 15:17 UTC, submitted by anonymous
Java "We have just released Java SE 6.0 Release 1 Developer Preview 1 and it is currently only available for Intel-based Macintosh computers. We will be releasing a DP in the near future for PPC also. We just wanted to get 1.6 out as fast as possible."
Thread beginning with comment 121247
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: ...
by snowbender on Fri 5th May 2006 11:40 UTC in reply to "..."
snowbender
Member since:
2006-05-04

I concur. I'm generally not a big fan of Java applications, but I have used a Mustang snapshot on linux/x86 and I'm impressed. I think the compiler does a much better job, and the JVM also seems to feel "snappier" and lighter, but the latter may just be a feeling.
The enormous speedup I measured, is a fact. Even though the benchmarked code was not very good in my opinion: it created a lot of new objects which became garbage almost immediately. I believe the escape analysis in Mustang makes sure that this kind of objects ends up on the local stack instead of on the heap and this can make an enormous difference in some cases by taking away a whole lot of stress on the collector.
Actually, the code I am talking about, is not mine, but I looked at it and was going to optimize it manually, but then I remembered about the escape analysis in Mustang and therefore decided to try a snapshot.

Reply Parent Score: 1

RE[2]: ...
by derekmorr on Fri 5th May 2006 19:48 in reply to "RE: ..."
derekmorr Member since:
2005-09-25

Actually, stack allocation was delayed until Java 7. Java 6 will perform escape analysis and use it for lock elission, but not stack allocation, unfortunately.

Reply Parent Score: 1

RE[3]: ...
by snowbender on Fri 5th May 2006 22:46 in reply to "RE[2]: ..."
snowbender Member since:
2006-05-04

Ah, ok. I read (some time ago) it was planned for 6 and assumed it was in. I wonder what caused the speedup I experienced then. I guess I should read a summary with the improvements in Java6.

Reply Parent Score: 1