The Artima Developer Community
Sponsored Link

Java Buzz Forum
Urban performance legends, revisited

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
Urban performance legends, revisited Posted: Oct 11, 2005 12:54 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: Urban performance legends, revisited
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement

Remember the hub-ub of "Java is slow" back in the 1.x days?

Remember the buzz when .NET had the stack vs. heap 'struct' world?

Brian Goetz is here to discuss Urban performance legends, revisited.

Brian gets down and dirty, and will amaze you with quips like:

Pop quiz: Which language boasts faster raw allocation performance, the Java language, or C/C++? The answer may surprise you -- allocation in modern JVMs is far faster than the best performing malloc implementations. The common code path for new Object() in HotSpot 1.4.2 and later is approximately 10 machine instructions (data provided by Sun; see Resources), whereas the best performing malloc implementations in C require on average between 60 and 100 instructions per call (Detlefs, et. al.; see Resources). And allocation performance is not a trivial component of overall performance -- benchmarks show that many real-world C and C++ programs, such as Perl and Ghostscript, spend 20 to 30 percent of their total execution time in malloc and

free -- far more than the allocation and garbage
collection overhead of a healthy Java application (Zorn; see
Resources).

Give it a read, and don't say "Java is slow". Well, what about embedded devices, can we still say that realtime java isn't quite there?

Read: Urban performance legends, revisited

Topic: Starship 'Unusable' Enterprise Previous Topic   Next Topic Topic: $100 Laptop Moves Closer to Reality

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use