Sciweavers

JAVA
1999
Springer

Practical Guidelines for Boosting Java Server Performance

14 years 3 months ago
Practical Guidelines for Boosting Java Server Performance
As Java technology matures, an increasing number of applications that have traditionally been the domain of languages such as C++ are implemented in Java. Many of these applications such as Internet servers demand high execution speed. Currently, it is mostly the programmer's responsibility to optimize Java code for speed. This paper presents several simple yet e ective source code-level guidelines for accelerating Java programs. Among the performance enhancing rules described in the paper are object reuse, avoiding Java API methods with implicit object allocations, statically creating immutable objects, thread pooling, and avoiding dynamically expanding objects. All these rules aim at reducing the frequency of object allocations and objectto-object copy operations. Using examples, the paper demonstrates up to 15-fold accelerations by using these guidelines. When applied under the appropriate circumstances explained in the paper, none of the rules leads to performance penalties.
Reinhard Klemm
Added 04 Aug 2010
Updated 04 Aug 2010
Type Conference
Year 1999
Where JAVA
Authors Reinhard Klemm
Comments (0)