Java Performance Tuning

Java(TM) - see bottom of page

|home |services |training |newsletter |tuning tips |tool reports |articles |resources |about us |site map |contact us |
Tools: | GC log analysers| Multi-tenancy tools| Books| SizeOf| Thread analysers| Heap dump analysers|

Our valued sponsors who help make this site possible
JProfiler: Get rid of your performance problems and memory leaks! 

Training online: Concurrency, Threading, GC, Advanced Java and more ... 

News December 27th 2002

Get rid of your performance problems and memory leaks!

Modern Garbage Collection Tuning
Shows tuning flow chart for GC tuning

Java Performance Training Courses
COURSES AVAILABLE NOW. We can provide training courses to handle all your Java performance needs

Java Performance Tuning, 2nd ed
The classic and most comprehensive book on tuning Java

Java Performance Tuning Newsletter
Your source of Java performance news. Subscribe now!
Enter email:

Training online
Threading Essentials course

Get rid of your performance problems and memory leaks!

Back to newsletter 025 contents

In his article about the util.concurrent package, Brian Goetz points out that "Most of us would never think of writing our own XML parser, text indexing and search engine, regular expression compiler, ...". We use existing standard packages. The open source community does sometimes recreate standard tools for a very good reason: to make them open source. But it gets a bit ridiculous when we end up with four versions of slightly different open source tools. This seems to the situation with Java profilers. We now have at least four open source versions, (jcoverage, EJP, jProf, simpleprofiler) all seemingly in alpha release. They are of varying ages, going back to 1999. As each one successively became unsupported by its author, it seems like the next one started being developed by someone else. Why?

A note from this newsletter's sponsor

Get a free download of GemStone Facets 2.0 and see how this
patented technology supports JCA 1.0 to seamlessly integrate
with J2EE application servers to enhance performance.

The quality of articles being written is still impressive this month. My own article on nulling and GC was well received; Brian Goetz's article on util.concurrent, the first of a series, is excellent as usual with Brian. If garbage collection (GC) is of interest to you, Nagarajayya and Mayer have updated their GC tuning article to cover 1.4.1. The article is well worth reading in detail: 1.4.1 includes five (yes 5!) garbage collection algorithms, and the article explains their aims and interactions.

I don't normally list research articles that don't have concrete performance tips. But I've made an exception for Vivek Haldar's research paper on verifying compile time assists for JITs (actually entitled "Verifying Data Flow Optimizations for Just-in-Time Compilation"). Since 1.1, compile time optimizations have been gradually reduced until the -O does nothing, mainly because the JIT knows more at runtime and can apply better optimizations then. I've been waiting for techniques to appear which will reverse this process of leaving everything to runtime, after all at compile time you have far more time to do optimizations. Now Haldar's paper shows how the compiler can add optimization hints while still satisfying the Java security model, which was probably the biggest sticking point.

Otherwise, we list a number of other articles covering EJBs, servlets, JDBC, XML parsing, web services, performance monitoring and analysis, J2ME design and portability, and more.

The roundup and Javva are also here, and our interview this month is with Ed lycklama of Sitraka (now part of Quest), who gives us his interesting view of Java performance. And we also have all the new performance tips extracted from our listed articles.

A note from this newsletter's sponsor

Java Performance Tuning, 2nd ed. covers Java SDK 1.4 and
includes four new J2EE tuning chapters. The best value Java
performance book just got even better! Order now from Amazon


Java performance tuning related news.

A note from this newsletter's sponsor

Measure, analyze and maximize J2EE application performance
during load testing with PerformaSure. Read the Aberdeen
white paper "Honing In on J2EE Performance Assurance".


Recent Articles

Jack Shirazi

Back to newsletter 025 contents

Last Updated: 2022-06-29
Copyright © 2000-2022 All Rights Reserved.
All trademarks and registered trademarks appearing on are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries. is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.
RSS Feed:
Trouble with this page? Please contact us