Sun Java Solaris Communities My SDN Account Join SDN
 

JavaOne Online Technical Sessions

Pump Up Your Technical Knowledge
Listen and watch as industry luminaries bring you the latest on Java technologies
Active Tab2009
 
Begin Product Tab Sub Links Active Sub LinkJavaOne Technical Sessions JavaOne Hands-On Labs

Inside Out: A Modern Virtual Machine Revealed
TS-5427


Presenter: John Coomes, Sun Microsystems, Inc.; Brian Goetz, Sun Microsystems, Inc.; Antonios Printezis, Sun Microsystems, Inc.


Ever wondered what happens to your bytecodes when they're executed by a Java Virtual Machine? If so, this session will provide a taste of the many optimizations done by current virtual machines to make Java technology-based programs run faster. It discusses a few important optimizations in detail, using examples of Java code to show how the JVM machine makes common operations fast or how it transforms your program into something completely different that produces the same result -- in less time. It also airs some dirty laundry and covers aspects of Java technology that are not well optimized, explains why, and discusses some alternatives.

Topics include

  • Synchronization - why uncontended locks are (almost) free
  • Compilation - how dynamic profiling, inlining, escape analysis, and other techniques enable code transformation
  • Memory management and garbage collection - why allocation is fast, temporary objects are cheap, and finalization is slow
  • Other optimizations - exploiting NUMA architectures, using large pages

Java technology developers of all levels will learn more about what the JVM machine does under the covers, which can help guide development and performance tuning efforts.

 
 
FREE White Papers on Java SE, Java EE, cloud computing and database technologies.
New SDN Member Only Offers Every Month Discounts, FREE white papers and more!
Java University and JavaOne Training Sessions