Advertisement

Garbage Collection

  • Iuliana Cosmina
Chapter

Abstract

When executing Java code, objects are created, used and discarded repeatedly from memory. The process through which unused Java objects are discarded is called memory management, but is most commonly known as garbage collection (GC). garbage collection was mentioned in Chapter   5 as it was needed for explaining the difference between primitive and reference types, but in this chapter we go deep into the under the hood of the JVM to resolve yet another mystery of a running Java application.

Copyright information

© Iuliana Cosmina 2018

Authors and Affiliations

  • Iuliana Cosmina
    • 1
  1. 1.EdinburghUK

Personalised recommendations