Similar presentations:
Heap and non-heap memory in java. GC (garbage collector)
1.
Hello!My name is Duke
Today we will
talk about
• Heap and non-heap
memory in java
• GC (garbage collector)
2.
Non-heap memoryPermanent generation(meta space)
Stack
3.
HeapObjects
new keyword
4. what to do ?
5.
6.
7.
Java hotspot VM garbage collectorsSerial gc
Parallel gc
Concurrent
Mark Sweep
garbage-first
(g1)