Discord Community: https://discord.gg/dK6cB24ATp
GitHub Repository: https://github.com/geekific-official/
Java programs compile into bytecode that can be run on a Java Virtual Machine. When Java programs run on the JVM, objects are created in the heap space, which is a portion of memory dedicated to the program. Inside this space, and over the lifetime of a Java application, new objects are created and released. The process of automatically reclaiming unused memory by destroying unused objects is referred to as Garbage Collection. In this video we attempt to explain how GC works and what are the types of GC available.
Timestamps:
00:00 Introduction
00:07 What is Garbage Collection in Java?
01:43 Generational Garbage Collection: How does it Work?
06:17 Types of Garbage Collectors
10:32 Advantages of Garbage Collection
11:10 Thanks for Watching!
If you found this video helpful, check other Geekific uploads:
- Object-Oriented Programming Fundamentals:
https://youtu.be/Vfk6sExu8-4
- SOLID Principles and Best Practices:
https://youtu.be/HoA6aZPR5K0
- Recursion Made Simple, Recursive Methods:
https://youtu.be/r8KJ2AJWkHs
- Use-Case and Sequence Diagrams:
https://youtu.be/el501qi0KtI
- Project Lombok Annotations Explained:
https://youtu.be/sPgTC-e6QyY
- Heap Space vs. Stack Memory in Java, Call Stack Explained:
https://youtu.be/dH2LG3wxXbQ
- Trees Compared and Visualized, BST vs AVL vs RedBlack vs Splay vs Heaps:
https://youtu.be/hmSFuM2Tglw
- Generics and Wildcards in Java, Invariance vs Covariance vs Contravariance:
https://youtu.be/FXAUXvPNKi8
- Reading from and Writing to a file in Java, Transient Java Keyword:
https://youtu.be/_hN-m7qOn9Y
- What is a Thread? (Process, Program, Parallelism, Scheduler Explained):
https://youtu.be/hN2Yrf4tqTY
- Domain-Driven Design Made Simple:
https://youtu.be/H5--9pMmuK4
#Geekific #GarbageCollection #Java #GC #JVM