O'Reilly logo

Java 9 Cookbook by Nick Samoylov, Mohamed Sanaulla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction

Memory management is the process of memory allocation (for program execution) and memory reuse (after some of the allocated memory is not used anymore). In Java, this process happens automatically and is called Garbage Collection (GC). The effectiveness of GC affects two major application characteristics--responsiveness and throughput.

Responsiveness is measured by how quickly an application responds (brings necessary data) to the request. For example, how quickly a website returns a page or how quickly a desktop application responds to an event. Naturally, the lower the response time, the better the user experience, which is the goal of design and implementation for many applications.

Throughput indicates the amount of work ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required