Java Performance (häftad)
Format
Häftad (Paperback)
Språk
Engelska
Antal sidor
720
Utgivningsdatum
2011-10-19
Upplaga
1
Förlag
PRENTICE-HALL
Medarbetare
Hohensee, Paul / John, Binu / Dagastine, David
Illustrationer
illustrations
Dimensioner
230 x 175 x 20 mm
Vikt
920 g
Antal komponenter
1
ISBN
9780137142521

Java Performance

Häftad,  Engelska, 2011-10-19

Slutsåld

The definitive master class in performance tuning Java applicationsif 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 youll find nowhere else.

Youll learn how to construct experiments that identify opportunities for optimization, interpret the results, and take effective action. Youll also find powerful insights into microbenchmarkingincluding how to avoid common mistakes that can mislead you into writing poorly performing software. Then, building on this foundation, youll 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 applicationsno matter how complex they are, what platforms theyre running on, or how long youve been running them.
Visa hela texten

Kundrecensioner

Har du läst boken? Sätt ditt betyg »

Fler böcker av författarna

  • Going to the Strip Club

    Charlie Hunt

    In Going to the Strip Club, a divorced, middle-aged man named Charlie is a frequent visitor of his local strip club. During his time there, he begins to study and decode the interpersonal interactions that occur in the seemingly secretive world fu...

Övrig information

Charlie Hunt (Libertyville, IL) is a Java performance engineer working on both Java SE and Java EE optimization issues. Dave Dagastine (Cobleskill, NY), Java SE Performance Engineering tech lead is actively involved in developing Java benchmarks at SPEC. Paul Hohensee (Nashua, NH) is Senior Staff Engineer for Sun Microsystems in Burlington, MA.

Innehållsförteckning

Foreword by James Gosling         xi

Foreword by Steve Wilson         xiii

Preface         xv

Acknowledgments         xix

About the Authors         xxi

 

Chapter 1:  Strategies, Approaches, and Methodologies   1

Forces at Play   2

Two Approaches, Top Down and Bottom Up   5

Choosing the Right Platform and Evaluating a System   8

Bibliography   11

 

Chapter 2: Operating System Performance Monitoring         13

Definitions   14

CPU Utilization   14

CPU Scheduler Run Queue   28

Memory Utilization   32

Network I/O Utilization   41

Disk I/O Utilization   46

Additional Command Line Tools   49

Monitoring CPU Utilization on SPARC T-Series Systems   50

Bibliography   53

 

Chapter 3: JVM Overview   55

HotSpot VM High Level Architecture   56

HotSpot VM Runtime   58

HotSpot VM Garbage Collectors   80

HotSpot VM JIT Compilers   92

HotSpot VM Adaptive Tuning   100

References   106

 

Chapter 4: JVM Performance Monitoring         107

Definitions   108

Garbage Collection   108

JIT Compiler   146

Class Loading   147

Java Application Monitoring   150

Bibliography   153

 

Chapter 5: Java Application Profiling         155

Terminology   157

Oracle Solaris Studio Performance Analyzer   159

NetBeans Profiler   189

References   209

 

Chapter 6: Java Application Profiling Tips and Tricks         211

Performance Opportunities   211

System or Kernel CPU Usage   212

Lock Contention   222

Volatile Usage   234

Data Structure Resizing   235

Increasing Parallelism   243

High CPU Utilization   246

Other Useful Analyzer Tips   247

Bibliography   249

 

Chapter 7: Tuning the JVM, Step by Step          251

Methodology   252

Application Systemic Requirements   255

Rank Systemic Requirements   257

Choos...