The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


Community Corner Podcast: Kirk Pepperdine on Java Performance Tuning

Posted by editor on July 9, 2009 at 5:57 AM PDT

Kirk Pepperdine gave a very interesting mini-talk in the java.net booth at JavaOne. We recorded his talk and made it into a java.net Community Corner 2009 podcast.

Kirk's presentation includes lots of interaction with the audience, and plenty of doses of humor, though not humor that anyone who's not a developer would understand. In fact, if you haven't done a fair amount of work on performance tuning, you may not get all that many of the jokes right off. Kirk's jokes are sometimes subtle on the surface, just like performance tuning itself.

In the talk, Kirk presents many examples of attempts to isolate performance issues, deftly illustrating how difficult it actually is find bottlenecks and increase the performance of a poorly performing application. At many points in the talk, Kirk shows results of performance testing that seem to produce strange results -- for example, the case where a measurement of the time to complete a section of code produces a result of zero seconds. How can this be?

At this point in the talk, Kirk matter-of-factly states that this test proves that Java is indeed the most efficient programming language in existence, because if you programmed the same application in any other language, for example C++, executing the code would indeed occupy at least some time. After the audience ponders these strangenesses for a few seconds, aware that something doesn't quite seem right, Kirk explains what was really happening: the Java execution time was zero because the compiler saw that the code does nothing, and so it is in effect excluded in the byte-code representation of the application.

See the earlier post, that I wrote at JavaOne, for a few more examples of the points Kirk made during his Community Corner mini-talk.

At the end of Kirk's talk, he says he's making the slides available. I'm checking with him about that, and I'll add a link to the presentation on our podcast page as soon as I have it. [Update: Kirk sent me his presentation, and I've made it available for download (PDF).]

Visit the java.net Community Corner Podcasts page to find the 2009 podcasts as they are published. We've published about half of the podcasts now.


In Java Today, In Kirk Pepperdine on Java Performance Tuning, Kirk Pepperdine talks about Java performance tuning in this java.net Community Corner 2009 podcast, recorded at JavaOne.

In Josh Marinacci on JavaFX and the Java Store, Ed Ort interviews Josh Marinacci in this java.net Community Corner 2009 podcast, recorded at JavaOne. Josh talks about his work with JavaFX and the new Java Store.

In Hudson on iPhone and Android , Peligri writes about Hudson on iPhone and Android: "Hudson fans no longer have to be envious of POssO (the portable administration console for OpenSSO) or of Zen (the OpenDS variant); now you can also show-off your iPhone through the Hudson Helper for iPhone - see it in action Building Galileo..."


In today's Weblogs, Arun Gupta announces that he received a FISL 2009 Speaker Certificate: "Received a "certificate of attendance as speaker" for recently concluded FISL 10. This is sweet, thanks FISL organizers! It certainly adds a personal touch to the whole experience. I don't remember receiving a personal certificate like this :)"

Cay Horstmann asks Are Web Services the New CORBA?: "I am updating the Core JSF book and just got to the section on injecting a web service into a JSF managed bean. The example I used in the previous edition is no longer usable and I can't seem to find a replacement that is interesting, long-lived, and works with JAX-WS. Am I beating a dead dog?"

And Kumar Jayanti completes an earlier post in Security Token Configuration in Metro Contd....: "Continuation of the previous post on Security Token Configuration in Metro. My previous post Security Token Configuration in Metro has exceeded the maximum limits (even after having used the extended entry) of a post and hence when i added some more details yesterday, i am seeing that the tail end of my post was truncated. So here is what was in the tail end..."


In the Forums, errorken is wondering about JSF 1.2_13 on glassfish 2.1: "We are using glassfish2.1. I'm trying to use the latest JSF (RI) version : 1.2_13 in our application. I know I could be upgrading the version in the lib dir of the server (the admin console will probably work with _13 as well) but I'm trying to avoid this. Its better if applications can decide on themselves which libraries they want. I first tried to turn off class loader delegation via the sun-web.xml. This is not a problem since the webapp is standalone and does not depend on other modules (such as ejbs etc). But no luck, the version output on startup is still the same as before..."

tanvirtonu asks about Getting the beans property at runtime.: "I have made a bean component automatically created by netbeans.Then I bind a jtextfield's text property to that bean's property and in my main method I set the property for that bean.Yet, I m not getting the property name in my textfield after the program runs.Can anybody help. Here is the bean component that netbeans created for me by default. package saraelectro; import java.beans.*; import java.io.Serializable; public class myBean implements Serializable { ... "

And iliasr initiated an extended conversation involving Streaming over JXTA: "Hello, I was trying to implement a streaming mechanism over a JXTA network, with the platform's transport methods (pipes and sockets)... Using JxtaSocket I came to find that the performance of the streaming was much less than acceptable. I then replaced the sockets with the purer JxtaBiDiPipe, but neither this method proved efficient... Is such a thing as streaming over jxta with its own transport methods possible, or have I to implement it using the plain Socket API of Java? I came across a couple of jxta projects... "


The current Spotlight is Paul Dietel's java.net Community Corner 2009 podcast "The ATM Object-Oriented Design and Implementation Case Study": 'Educator, author, and Java Champion Paul Deitel talks about the ATM Object-Oriented Design and Implementation Case Study from his book "Java: How to Program, 8/e" in this java.net Community Corner podcast recorded at at JavaOne 2009. Download the slides so you can follow along as you listen to Paul's presentation.'


This week's java.net Poll asks "Have you tried out NetBeans Version 6.7?". Today (Thursday) is the last full day of voting.


Our Feature Articles include two new articles today. Francesco Azzola's Integrating JavaFX with JavaEE Using Spring and Hessian Protocol shows how a JavaFX client can call remote JavaEE services using the Spring framework and the Hessian protocol. Atif Razzaq's Getting Started with BlackBerry J2ME Development teaches you how to set up a development environment for BlackBerry applications, using three sample applications to demonstrate how to get started.


The latest Java Mobility Podcast is Java Mobility Podcast 82: M3DD/LA: a conversation with the organizers of Mobile, Media, and eMbedded Developer Days/Latin America in Goiania, Brazil. OpenJDK Podcast is The latest JavaOne Community Corner Podcast is


-->

Current and upcoming Java Events :

Registered users can submit event listings for the java.net Events Page using our events submission form. All submissions go through an editorial review before being posted to the site.


Archives and Subscriptions: This blog is delivered weekdays as the Java Today RSS feed. Also, once this page is no longer featured as the front page of java.net it will be archived along with other past issues in the java.net Archive.



Kirk Pepperdine gave a very interesting mini-talk in the java.net booth at JavaOne...
Comments
Comments are listed in date ascending order (oldest first)