Java Performance Companion, 1st edition

Published by Pearson (April 8, 2016) © 2016

  • Charlie Hunt
  • Poonam Parhar
  • Bengt Rutisson
  • Monica Beckwith
Products list

Title overview

World-class Java performance experts present detailed information on common top-down (application-centric) tuning and bottom-up (hardware/OS centric) approaches, with solid coverage of Windows, Linux, and Solaris. They show how to improve performance by applying state-of-the-art software engineering practices, and how to avoid common mistakes that can lead to writing poorly performing software. Throughout, there are dozens of Java performance tips and tricks available nowhere else.

The full text downloaded to your computer. With eBooks you can:

  • search for key concepts, words and phrases
  • make highlights and notes as you study
  • share your notes with friends
  • Print 5 pages at a time
  • Compatible for PCs and MACs
  • No expiry (offline access will remain whilst the Bookshelf software is installed.

eBooks are downloaded to your computer and accessible either offline through the VitalSource Bookshelf (available as a free download), available online and also via the iPad/Android app.

When the eBook is purchased, you will receive an email with your access code.  Simply go to http://bookshelf.vitalsource.com/ to download the FREE Bookshelf software. After installation, enter your access code for your eBook.

Time limit

The VitalSource products do not have an expiry date. You will continue to access your VitalSource products whilst you have your VitalSource Bookshelf installed.

Table of contents

Chapter 1: Garbage First Overview

Terminology

Parallel GC

Serial GC

Concurrent Mark Sweep (CMS) GC

Garbage First (G1) GC

References


Chapter 2: Garbage First Garbage Collector in Depth

Background

Garbage Collection in G1

The Young Generation

A Young Collection Pause

Object Aging and the Old Generation

Humongous Regions

A Mixed Collection Pause

Collection Sets and Their Importance

Remembered Sets and Their Importance

Concurrent Marking in G1 GC

Stages of Concurrent Marking

Evacuation Failures and Full Collection

References

 

Chapter 3: Garbage First Garbage Collector Performance Tuning

The Stages of a Young Collection

Young Generation Tunables

Concurrent Marking Phase Tunables

A Refresher on the Mixed Garbage Collection Phase

The Taming of a Mixed Garbage Collection Phase

Avoiding Evacuation Failures

Reference Processing

References

 

Chapter 4: The Serviceability Agent

What Is the Serviceability Agent?

Why Do We Need the SA?

SA Components

SA Binaries in the JDK

JDK Versions with Complete SA Binaries

How the SA Understands HotSpot VM Data Structures

SA Version Matching

The Serviceability Agent Debugging Tools

Core Dump or Crash Dump Files

Debugging Transported Core Files

System Properties for the Serviceability Agent

Environment Variables for the Serviceability Agent

JDI Implementation

Extending Serviceability Agent Tools

Serviceability Agent Plugin for VisualVM

Troubleshooting Problems Using the SA

 

Appendix: Additional HotSpot VM Command-Line Options of Interest

Need help?Get in touch