Optimizing Java: Practical Techniques for Improving JVM Application Performance

Benjamin J Evans, James Gough, Chris Newland

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

相關主題

商品描述

Performance tuning is an experimental science, but that doesn’t mean engineers should resort to guesswork and folklore to get the job done. Yet that’s often the case. With this practical book, intermediate to advanced Java technologists working with complex technology stacks will learn how to tune Java applications for performance using a quantitative, verifiable approach.

Most resources on performance tend to discuss the theory and internals of Java virtual machines, but this book focuses on the practicalities of performance tuning by examining a wide range of aspects. There are no simple recipes, tips and tricks, or algorithms to learn. Performance tuning is a process of defining and determining desired outcomes. And it requires diligence.

  • Learn how Java principles and technology make the best use of modern hardware and operating systems
  • Explore several performance tests and common anti-patterns that can vex your team
  • Understand the pitfalls of measuring Java performance numbers and the drawbacks of microbenchmarking
  • Dive into JVM garbage collection logging, monitoring, tuning, and tools
  • Explore JIT compilation and Java language performance techniques
  • Learn performance aspects of the Java Collections API and get an overview of Java concurrency

商品描述(中文翻譯)

性能調優是一門實驗科學,但這並不意味著工程師應該依靠猜測和傳說來完成工作。然而,這通常是情況。這本實用書籍針對使用複雜技術堆棧的中高級Java技術人員,教授如何使用定量、可驗證的方法來調優Java應用程序的性能。

大多數關於性能的資源往往討論Java虛擬機的理論和內部原理,但本書專注於通過檢視各種方面來實踐性能調優的實際問題。這裡沒有簡單的配方、技巧或算法可供學習。性能調優是一個定義和確定期望結果的過程。它需要勤奮。

- 學習Java原則和技術如何充分利用現代硬件和操作系統
- 探索幾種性能測試和常見的反模式,這些反模式可能困擾您的團隊
- 了解測量Java性能數字的陷阱以及微基準測試的缺點
- 深入研究JVM垃圾回收的日誌記錄、監控、調優和工具
- 探索JIT編譯和Java語言性能技術
- 學習Java集合API的性能方面,並獲得Java並發的概述