➡️ Notes link: Shared in the Member Community Post (If you are Member of this channel, then pls check the Member community post, i have shared the Notes link there)
➡️ Join this channel to get access to member only perks:
[ Ссылка ]
Topics which i have covered:
- Type of Memory (Stack and Heap)
- What kind of data is Stored in Stack and Heap with Example
- Types of References
- Strong Reference
- Weak Reference
- Soft Reference
- Heap Memory Structure
- Young Generation
- Eden
- Survivor (S0 and S1)
- Old Generation
- Metaspace
- How Garbage Collector work & clean up the Heap memory with Example
- Types of Garbage Collector
- Single GC
- Parallel GC
- CMS (Concurrent Mark and Sweep)
- G1 GC
Chapters:
00:00 - Introduction
01:23 - What kind of Data is stored in Stack and Heap
04:52 - Stack and Heap understanding with Example
18:32 - Different types of Reference (Strong, Weak & Soft)
27:14 - Heap Memory Structure Explanation with Example
40:35 - Garbage Collection Algorithm and Types
#java #interview #softwareengineer
9. Java Memory Management and Garbage Collection in Depth
Теги
Java Memory ManagementJava Garbage CollectionStack and Heap Memory in JavaOOPs memory managementHeap memory structureold generation heap memoryyoung generation heap memoryeden memory of Young heapsurvivor memory of the heaphow heap memory is managed by JVMjava playlistGarbage collection algorithmMark and Sweep AlgorithmSingle GCParallel GCConcurrent Mark and Sweep AlgorithmG1 GChow java manage the memorymemory management in javaheapstack