栈
denverj
这个作者很懒,什么都没留下…
展开
-
JVM学习笔记-栈(Stack)
与程序计数器一样,Java虚拟机栈(Java Virtual Machine Stacks)也是线程私有的,它的生命周期与线程相同。虚拟机栈描述的是Java方法执行的内存模型:每个方法被执行的时候都会同时创建一个栈帧(Stack Frame①)用于存储局部变量表、操作栈、动态链接、方法出口等信息。每一个方法被调用直至执行完成的过程,就对应着一个栈帧在虚拟机栈中从入栈到出栈的过程。...原创 2011-10-27 10:28:08 · 196 阅读 · 0 评论 -
JVM学习笔记-栈帧(The Stack Frame)
The stack frame has three parts: local variables, operand stack, and frame data. The sizes of the local variables and operand stack, which are measured in words, depend upon the needs of each i...原创 2011-10-27 10:35:23 · 161 阅读 · 0 评论 -
JVM学习笔记-局部变量区(Local Variables)
The local variables section of the Java stack frame is organized as a zero-based array of words. Instructions that use a value from the local variables section provide an index into the zero...原创 2011-10-27 10:42:21 · 412 阅读 · 0 评论 -
JVM学习笔记-操作数栈(Operand Stack)
Like the local variables, the operand stack is organized as an array of words. But unlike the local variables, which are accessed via array indices, the operand stack is accessed by pushing and...原创 2011-10-27 11:12:50 · 486 阅读 · 0 评论 -
JVM学习笔记-帧数据区(Frame Data)
In addition to the local variables and operand stack, the Java stack frame includes data to support constant pool resolution, normal method return, and exception dispatch. This data is stored i...原创 2011-10-28 09:16:39 · 415 阅读 · 0 评论