Mapa mental
Stack and Heap
Conteúdo do mapa
Stack and Heap
Stack
- Contains list of active methods in an OOP.
- Thread of Execution
- Methods get added (pushed) and removed (popped) from the stack, along with their local variables.
- Operation is handled by the garbage collector.
- Active Method N
- Local variables
- main
- Active Method 2
- Local Variables
- Active Method 1
- Local Variables
- Garbage Collector
- Items no longer referenced directly or indirectly by stack are removed from heap by GC.
- Temporary
Heap
- Objects
- Instance variables
- Persistent
- String pool
- Objects
Informações
- Descrição
- Mapa Mental sobre Stack and Heap, criado por karloski em 18-05-2015.
- Criado por
- karloski
- Visualizações
- 2
- Avaliação