Skip to main content

Heap

Learn Heap (JVM Architecture, Java) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

6. Basic Concepts What is the Heap? The Heap is the area of JVM memory where all objects live - every time you write new , the object is created on the Heap. Unlike the Stack, the Heap is shared by every thread in the application.

More lessons in JVM Architecture