Java Platform Performance: Strategies and Tactics / Edition 1
by Jeff Kesselman, Steve WilsonISBN-10: 0201709694
ISBN-13: 9780201709698
Pub. Date: 06/01/2000
Publisher: Addison-Wesley
This book addresses a vital issue for all those developing software for the Java™ platform: how to achieve maximum performance and scalability for their applications.
Drawing on the authors' knowledge of the Java programming language and their extensive experience working on performance issues, the book reveals common mistakes and misconceptions
Overview
This book addresses a vital issue for all those developing software for the Java™ platform: how to achieve maximum performance and scalability for their applications.
Drawing on the authors' knowledge of the Java programming language and their extensive experience working on performance issues, the book reveals common mistakes and misconceptions concerning the performance characteristics of Java technologies. It offers overall development strategies and concrete, battle-tested techniques to dramatically improve the performance of applications constructed with the Java programming language.
Java™ Platform Performance highlights the importance of integrating performance evaluation into the application development process and discusses measurement techniques. The book then presents practical tactics for enhancing application performance in the areas of I/O, RAM footprint, small object management, algorithms, data structures, Swing, and deployment. Specific topics covered include:
- Incorporating performance evaluation into the development process
- Profiling and benchmarking
- Building scalable, fast Swing GUIs
- Using high-speed I/O
- Computing and controlling the RAM footprint
- Reducing the number of classes
- Eliminating temporary objects
- Selecting high-performance algorithms and data structures
- Using Java native code and applet packaging efficiently
- Garbage collection
- Java HotSpot™ technology
With an understanding of the performance issues and specific techniques for reducing overhead discussed in this book, you will have the information you need to enhance the efficiency, speed, and scalability of your software.
0201709694B04062001
Product Details
- ISBN-13:
- 9780201709698
- Publisher:
- Addison-Wesley
- Publication date:
- 06/01/2000
- Series:
- Addison-Wesley Java Series
- Edition description:
- New Edition
- Pages:
- 256
- Product dimensions:
- 7.30(w) x 9.10(h) x 0.70(d)
Table of Contents
Preface.
Introduction.
I: STRATEGIES.
1. What Is Performance?
Computational Performance.
RAM Footprint.
Startup Time.
Scalability.
Perceived Performance.
2. The Performance Process.
Developing a Performance Process.
References on Object-Oriented Design.
3. Measurement Is Everything.
Benchmarking.
Profiling.
Dealing with Flat Profiles.
II: TACTICS.
4. I/O Performance.
Basic I/O.
Serialization.
5. RAM Footprint.
Computing RAM Footprint.
What Contributes to Footprint?
Class Loading.
6. Controlling Class Loading.
Eager Class Loading.
Reducing the Number of Classes.
Running Multiple Programs.
7. Object Mutability: Strings and Other Things.
Lots of Little Objects.
Handling String Objects.
Mutable Objects in AWT and Swing.
Other Mutable Object Tactics.
Mutable Object Case Study.
Small Objects and the Modern JVM.
Array Mutability.
8. Algorithms and Data Structures.
Selecting Algorithms.
Using Recursive Algorithms.
Beyond Simple Algorithms.
Selecting Data Structures.
Collections Example.
References on Algorithms and Data Structures.
9. Using Native Code.
Native Graphics Example.
Examining JNI Costs.
Native Code Case Studies.
10. Swing Models and Renderers.
Swing's Component Architecture.
Scalable Components.
11. Writing Responsive User Interfaces with Swing.
Guidelines for Responsive GUIs.
Using Threads in Swing Programs.
Using Timers in Swing Applications.
Responsive Applications Use Threads.
Example: Searching the Web.
12. Deployment.
Compiler Options.
JAR Files.
Packaging Utilities.
Dynamic Downloading.
Appendices.
A. The Truth About Garbage Collection.
Why Should You Care About Garbage Collection?
The Guarantees of GC.
The Object Lifecycle.
Reference Objects.
References on Garbage Collection.
B. The Java HotSpot Virtual Machine.
HotSpot Architecture.
Runtime Features.
HotSpot Server Compiler.
X Flags.
XX Flags.
References.
Index 221. 0201709694T04062001.
Customer Reviews
Average Review: