Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Call stack, stack frame?

Ook bekend als: call stack · stack frame

Definition 3.3 University Computer Science — Year 1 · Hoofdstuk 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.

Lees in het hoofdstuk →