Java Platform Performance: Strategies and Tactics

Steve Wilson, Jeff Kesselman

  • 出版商: Addison Wesley
  • 出版日期: 2000-06-10
  • 售價: $1,670
  • 貴賓價: 9.5$1,587
  • 語言: 英文
  • 頁數: 256
  • 裝訂: Paperback
  • ISBN: 0201709694
  • ISBN-13: 9780201709698
  • 相關分類: Java 程式語言
  • 已絕版

買這商品的人也買了...

相關主題

商品描述


Description

Sun's Java Performance Team presents the most complete, authoritative guide to Java optimization!

  • Performance is one to the most important areas today - and these are the key strategies.
  • Coverage on every aspect of Java performance!
  • Performance tactics for I/O, serialization, class loading, algorithms and data structures, native code, Swing, compilation, JAR files, and much more.
Direct from Sun's Java™ Performance Team, this is a comprehensive field manual full of battle-tested strategies and tactics for developing high-performance applications and applets with Java technology. It covers every aspect of Java performance, including speed, scalability, RAM footprint, startup time, and user-perceived performance factors. Part I covers the crucial process issues associated with Java optimization, outlining how performance tuning fits into the software development process, showing how to use benchmarks and profiling tools to identify hot spots and bottlenecks, and presenting general strategies for enhancing the performance of Java technology-based systems. In Part II, the authors present a wide array of concrete optimization techniques. The book contains detailed appendices on garbage collection and the Java HotSpot™ Virtual Machine, written to address key performance questions.

Steve Wilson is Engineering Manager of the Java Performance Team at Sun Microsystems' Java Software unit, where he leads a team responsible for performance tuning the internals of the Java 2 Standard Edition. He previously worked as a member of the Swing team developing the Java Foundation Classes toolkit. Jeff Kesselman is an engineer on the Java Performance Team at Sun Microsystems' Java Software unit where he works with various groups to improve code performance. Prior to joining Sun, Jeff worked on cutting-edge games for various PC and console platforms.

Back to Top


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.


Back to Top