Java Performance (Paperback)

Charlie Hunt, Binu John

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

商品描述

“The definitive master class in performance tuning Java applications…if you love all the gory details, this is the book for you.”

–James Gosling, creator of the Java Programming Language

 

Improvements in the Java platform and new multicore/multiprocessor hardware have made it possible to dramatically improve the performance and scalability of Java software.


Java Performance covers the latest Oracle and third-party tools for monitoring and measuring performance on a wide variety of hardware architectures and operating systems. The authors present dozens of tips and tricks you’ll find nowhere else.


You’ll learn how to construct experiments that identify opportunities for optimization, interpret the results, and take effective action. You’ll also find powerful insights into microbenchmarking–including how to avoid common mistakes that can mislead you into writing poorly performing software. Then, building on this foundation, you’ll walk through optimizing the Java HotSpot VM, standard and multitiered applications; Web applications, and more. Coverage includes

  • Taking a proactive approach to meeting application performance and scalability goals
  • Monitoring Java performance at the OS level in Windows, Linux, and Oracle Solaris environments
  • Using modern Java Virtual Machine (JVM) and OS observability tools to profile running systems, with almost no performance penalty
  • Gaining “under the hood” knowledge of the Java HotSpot VM that can help you address most Java performance issues
  • Integrating JVM-level and application monitoring
  • Mastering Java method and heap (memory) profiling
  • Tuning the Java HotSpot VM for startup, memory footprint, response time, and latency
  • Determining when Java applications require rework to meet performance goals
  • Systematically profiling and tuning performance in both Java SE and Java EE applications
  • Optimizing the performance of the Java HotSpot VM


Using this book, you can squeeze maximum performance and value from all your Java applications–no matter how complex they are, what platforms they’re running on, or how long you’ve been running them.

商品描述(中文翻譯)

「這是一本在調優Java應用程式方面的權威大師班...如果你喜歡所有血淋淋的細節,這本書就是為你而寫的。」- Java程式語言的創造者James Gosling

Java平台的改進和新的多核/多處理器硬體使得大幅提升Java軟體的性能和可擴展性成為可能。《Java性能》涵蓋了最新的Oracle和第三方工具,用於在各種硬體架構和操作系統上監控和測量性能。作者們提供了許多獨家的技巧和訣竅。

你將學習如何進行實驗,以識別優化機會,解讀結果並採取有效行動。你還將獲得有關微基準測試的強大見解,包括如何避免常見的錯誤,這些錯誤可能導致你編寫性能不佳的軟體。然後,在此基礎上,你將深入研究優化Java HotSpot VM、標準和多層應用程式、Web應用程式等。內容包括:

- 以主動方式達到應用程式性能和可擴展性目標
- 在Windows、Linux和Oracle Solaris環境中在作業系統層面監控Java性能
- 使用現代Java虛擬機(JVM)和作業系統可觀察性工具來分析運行中的系統,幾乎不會對性能造成影響
- 獲得有關Java HotSpot VM的「底層」知識,可以幫助你解決大多數Java性能問題
- 整合JVM級別和應用程式監控
- 掌握Java方法和堆(記憶體)分析
- 調整Java HotSpot VM的啟動、記憶體佔用、響應時間和延遲
- 確定何時需要重新編寫Java應用程式以達到性能目標
- 系統性地分析和調優Java SE和Java EE應用程式的性能
- 優化Java HotSpot VM的性能

使用這本書,你可以從你所有的Java應用程式中獲得最大的性能和價值-無論它們有多複雜,運行在什麼平台上,或者你運行它們多長時間。