Java Memory Management: Values and References
Offered By: LinkedIn Learning
Course Description
Overview
Explore effective memory management in Java in this course, one of two installments in the lively Java Memory Management series.
Syllabus
Introduction
- Make beautiful stack overflow errors
- What you should know
- What is Java memory?
- The importance of understanding Java memory
- JVM and memory management
- Stack memory
- Heap memory
- Heap vs. stack
- Primitives
- Objects
- Final classes and immutable objects
- Strings in memory
- Primitives and objects in memory
- The problem of escaping references
- Collections and escaping references
- Avoiding escaping collection references
- Example custom objects: References on the loose
- Avoiding escaping references
- Garbage collection
- JVM tuning
- Spotting and avoiding memory leaks
- Next steps with Java memory management
Taught by
Maaike van Putten
Related Courses
Pointers in C / C++ [Full Course]freeCodeCamp Debugging and Fixing Common JavaScript Errors
Frontend Masters Многопоточность
Moscow Institute of Physics and Technology via Coursera Java Memory Management
LinkedIn Learning Java Memory Management: Garbage Collection, JVM Tuning, and Spotting Memory Leaks
LinkedIn Learning