Java Performance
- Length: 720 pages
- Edition: 1
- Language: English
- Publisher: Prentice Hall
- Publication Date: 2011-10-10
- ISBN-10: 0137142528
- ISBN-13: 9780137142521
- Sales Rank: #187139 (See Top 100 Books)
“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.
Table of Contents
Chapter 1 Strategies, Approaches, and Methodologies
Chapter 2 Operating System Performance Monitoring
Chapter 3 JVM Overview
Chapter 4 JVM Performance Monitoring
Chapter 5 Java Application Profiling
Chapter 6 Java Application Profiling Tips and Tricks
Chapter 7 Tuning the JVM, Step by Step
Chapter 8 Benchmarking Java Applications
Chapter 9 Benchmarking Multitiered Applications
Chapter 10 Web Application Performance
Chapter 11 Web Services Performance
Chapter 12 Java Persistence and Enterprise Java Beans Performance
Appendix A: HotSpot VM Command Line Options of Interest
Appendix B: Profiling Tips and Tricks Example Source Code