Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Call stack, stack frame?

Também chamado de: call stack · stack frame

Definition 3.3 University Computer Science — Year 1 · Capítulo 3 — Functions and the Call Stack

The call stack is a region of memory used last in, first out: each call of a function pushes a stack frame (or activation record) holding what that call needs, and the return pops it. A frame holds the call’s parameters and local variables that do not fit in registers, the registers it must save for its caller, and the return address. Only the frames of calls that have started and not yet returned are on the stack, the most recent on top.

Ler no capítulo →