Java Platform Performance: Strategies and Tactics
暫譯: Java 平台效能:策略與戰術
Steve Wilson, Jeff Kesselman
- 出版商: Addison Wesley
- 出版日期: 2000-06-10
- 售價: $1,710
- 貴賓價: 9.5 折 $1,625
- 語言: 英文
- 頁數: 256
- 裝訂: Paperback
- ISBN: 0201709694
- ISBN-13: 9780201709698
-
相關分類:
Java 程式語言
已絕版
買這商品的人也買了...
-
$680$537 -
$239Practical Firewalls (Paperback)
-
$2,660$2,527 -
$990Secure Electronic Commerce, 2/e
-
$875High-Performance Java Platform Computing: Multithreaded and Networked Programmin
-
$550$539 -
$780$616 -
$950$855 -
$860$679 -
$780$741 -
$1,100$1,045 -
$590$466 -
$690$538 -
$780$616 -
$720$569 -
$750$638 -
$560$476 -
$720$569 -
$880$695 -
$650$514 -
$850$723 -
$480$379 -
$750$593 -
$580$458 -
$1,200$948
商品描述
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.
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.
Table Of Contents
Preface.Introduction.
I: STRATEGIES.
1. What Is Performance?RAM Footprint.
Startup Time.
Scalability.
Perceived Performance.
2. The Performance Process.
References on Object-Oriented Design.
3. Measurement Is Everything.
Profiling.
Dealing with Flat Profiles.
II: TACTICS.
4. I/O Performance.
Serialization.
5. RAM Footprint.
What Contributes to Footprint?
Class Loading.
6. Controlling Class Loading.
Reducing the Number of Classes.
Running Multiple Programs.
7. Object Mutability: Strings and Other Things.
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.
Using Recursive Algorithms.
Beyond Simple Algorithms.
Selecting Data Structures.
Collections Example.
References on Algorithms and Data Structures.
9. Using Native Code.
Examining JNI Costs.
Native Code Case Studies.
10. Swing Models and Renderers.
Scalable Components.
11. Writing Responsive User Interfaces with Swing.
Using Threads in Swing Programs.
Using Timers in Swing Applications.
Responsive Applications Use Threads.
Example: Searching the Web.
12. Deployment.
JAR Files.
Packaging Utilities.
Dynamic Downloading.
Appendices.
A. The Truth About Garbage Collection.
The Guarantees of GC.
The Object Lifecycle.
Reference Objects.
References on Garbage Collection.
B. The Java HotSpot Virtual Machine.
Runtime Features.
HotSpot Server Compiler.
X Flags.
XX Flags.
References.
Index 221. 0201709694T04062001.

商品描述(中文翻譯)
描述
Sun 的 Java 性能團隊提供了最完整、最權威的 Java 優化指南!
- 性能是當今最重要的領域之一,這些是關鍵策略。
- 涵蓋 Java 性能的各個方面!
- 針對 I/O、序列化、類加載、算法和數據結構、本地代碼、Swing、編譯、JAR 文件等的性能策略,還有更多內容。
這本書直接來自 Sun 的 Java™ 性能團隊,是一本全面的現場手冊,充滿了經過實戰考驗的策略和戰術,旨在使用 Java 技術開發高性能的應用程序和小應用程式。它涵蓋了 Java 性能的各個方面,包括速度、可擴展性、RAM 占用、啟動時間和用戶感知的性能因素。第一部分涵蓋了與 Java 優化相關的關鍵過程問題,概述了性能調優如何融入軟體開發過程,展示了如何使用基準測試和分析工具來識別熱點和瓶頸,並提出了增強基於 Java 技術系統性能的一般策略。在第二部分中,作者介紹了各種具體的優化技術。書中還包含了有關垃圾回收和 Java HotSpot™ 虛擬機的詳細附錄,旨在解決關鍵性能問題。
Steve Wilson 是 Sun Microsystems Java 軟體部門 Java 性能團隊的工程經理,他領導一個負責調優 Java 2 標準版內部性能的團隊。他曾是 Swing 團隊的一員,開發 Java 基礎類工具包。Jeff Kesselman 是 Sun Microsystems Java 軟體部門 Java 性能團隊的工程師,他與各個團隊合作以改善代碼性能。在加入 Sun 之前,Jeff 曾為各種 PC 和主機平台開發尖端遊戲。
目錄
- 前言
- 介紹
I: 策略
1. 什麼是性能?
- 計算性能
- RAM 占用
- 啟動時間
- 可擴展性
- 感知性能
2. 性能過程
- 開發性能過程
- 面向對象設計的參考
3. 測量就是一切
- 基準測試
- 分析
- 處理平坦分析
II: 戰術
4. I/O 性能
- 基本 I/O
- 序列化
5. RAM 占用
- 計算 RAM 占用
- 什麼影響占用?
- 類加載
6. 控制類加載
- 及時類加載
- 減少類的數量
- 運行多個程序
7. 對象可變性:字符串和其他事物
- 許多小對象
- 處理字符串對象
- AWT 和 Swing 中的可變對象
- 其他可變對象策略
- 可變對象案例研究
- 小對象和現代 JVM
- 陣列可變性
8. 算法和數據結構
- 選擇算法
- 使用遞歸算法
- 超越簡單算法
- 選擇數據結構
- 集合示例
- 算法和數據結構的參考
9. 使用本地代碼
- 本地圖形示例
- 檢查 JNI 成本
- 本地代碼案例研究
10. Swing 模型和渲染器
- Swing 的組件架構
- 可擴展組件
11. 使用 Swing 編寫響應式用戶界面
- 響應式 GUI 的指導方針
- 在 Swing 程序中使用線程
- 在 Swing 應用程序中使用計時器
- 響應式應用程序使用線程
- 示例:搜索網頁
12. 部署
- 編譯器選項
- JAR 文件
- 打包工具
- 動態下載
附錄
A. 有關垃圾回收的真相
- 為什麼要關心垃圾回收?
- GC 的保證
- 對象生命週期
- 引用對象
- 垃圾回收的參考
B. Java HotSpot 虛擬機
- HotSpot 架構
- 運行時特性
- HotSpot 伺服器編譯器
- X 標誌
- XX 標誌
參考文獻
索引 221. 0201709694T04062001