Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Call stack, stack frame » ?

Aussi appelé : call stack · stack frame

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

Lire dans le chapitre →