Chapter 6. Understanding performance tuning
This chapter covers
- Why performance matters
- The new G1 collector
- VisualVM—a tool for visualizing memory
- Just-in-time compilation
Poor performance kills applications—it’s bad for your customers and your application’s reputation. Unless you have a totally captive market, your customers will vote with their feet—they’ll already be out of the door, heading to a competitor. To stop poor performance harming your project, you need to understand performance analysis and how to make it work for you.
Performance analysis and tuning is a huge subject, and there are too many treatments out there that focus on the wrong things. So we’re going to start by telling you the big secret of performance tuning. ...