Per-thread method activation stacks are represented using the host operating system's stack and thread model.
每线程方法的激活栈使用主机操作系统的堆栈和线程模型。
As you can see, the suspended function activation records "stack up", and then, when each function returns, it gets taken off of the stack.
正如您可以看到的一样,挂起的函数的活动记录“压入堆栈”,然后在每个函数返回时,就从堆栈中弹出。
If a function is executing, then the stack pointer is pointing to the top of the whole stack, which is also the top of that function's activation record.
如果一个函数正在执行,那么堆栈指针就会指向整个堆栈的顶部,这也是该函数活动记录的顶部。
Because activation records are implemented on a stack, they are often referred to as stack frames, but both terms are equivalent.
由于活动记录是在堆栈上实现的,它们通常也会被称为堆栈帧,这两个术语是对等的。
This makes it easy for functions to know where their activation record is — they are simply defined in terms of the stack pointer.
这对函数了解自己的活动记录在什么地方提供了方便——它们可以使用堆栈指针的形式简单地进行定义。
It holds the activation records (i.e. stack frames) of native code, and VM code including the interpreter loop function.
它掌握本地代码的活动记录(堆帧stack frames),VM代码包括解释器循环功能。
It holds the activation records (i.e. stack frames) of native code, and VM code including the interpreter loop function.
它掌握本地代码的活动记录(堆帧stack frames),VM代码包括解释器循环功能。
应用推荐