Earlier this year AMD, working with the Hotspot JVM team, submitted a change to the OpenJDK to help the performance of Java applications which run with debugging enabled, in particular ones that also throw and catch exceptions as part of their flow control. We’ve published the following article on the AMD Developer Central site which describes the situation in more detail, including a description of the Java Platform Debugging Architecture.
Read the article, “Java Performance When Debugging is Enabled.”
The changes described in the article are scheduled to appear in JDK 6, Update 21. Early access to Update 21 is available at http://www.oracle.com/technetwork/java/javase/downloads/jdk6-jsp-136632.html. They are also available in the latest OpenJDK 7 builds, see http://openjdk.java.net/projects/jdk7/builds/.
We’d be interested in hearing of actual cases where people were affected by this performance issue.
Tom Deneau is a member of the Java Labs team at AMD. His postings are his own opinions and may not represent AMD’s positions, strategies or opinions. Links to third party sites are provided for convenience and unless explicitly stated, AMD is not responsible for the contents of such linked sites and no endorsement is implied.