« Cache-Oblivious Algorithms | Main | A Rebuttal to The Myth of the Genius Programmer »

June 04, 2009

Comments

bob

This is interesting stuff. I wonder how long these features have been hiding out on the backchannel.

SUN has been talking about allowing stack allocation for sometime now Im glad to see they are internalizing that in optimizations.

What I was mostly worried about is that they would make it a developer decision to annotate fields or whatever as stack allocated.

Seems simple and straightforward, but I have met very few people in my career who understand the difference bet stack and heap allocation and unleashing that choice on developers would turn Java into a mini C++ which is the last thing anyone wants.

Anyway nice rundown.

Nobbin

bing? Oh dear oh dear...

Christian Vest Hansen

You can get software transactional memory today. Clojure comes with STM built-in. Pure Java people can use Multiverse, although I'm not sure how production ready it is.

www.facebook.com/profile.php?id=667417047

Hopefully someone reads these comments....

Can you use both Biased Locking and Escape Analysis? From your descriptions, it doesn't seem like they are mutually exclusive, but I wouldn't want to completely befuddle my JVM by having to optimizations working against each other.

Thanks for a great article.

Brian

Heinz Kabutz

Nice article and explanation of the topics. You saved me some work in not having to explain it all again :-)

http://www.javaspecialists.eu/archive/Issue179.html

Heinz

generic viagra

SUN has been talking about allowing stack allocation for sometime now Im glad to see they are internalizing that in optimizations.

Kcpeppe

I helped write the article on "Does Escape Analysis Really Work" and I will tell you that we spent quite a bit of time and involved JVM/HotSpot engineers in the effort to validate results. At the time of writing Escape Analysis did not offer much improvement. But with all questions of performance, time moves on and such is the case with Escape Analysis. It now works much better.

Regards,
Kirk Pepperdine

The comments to this entry are closed.