7

java | 栈 | 犀牛的博客

 1 year ago
source link: https://benpaodewoniu.github.io/2022/12/15/java102/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

java | 栈

2022-12-15java进阶JVM内存结构

2

stack 栈。

97_0.svg

栈就是线程运行时需要的内存空间。

一个栈是由多个栈帧组成的。栈帧是每个方法运行时需要的内存。

每个线程只能有一个活动栈帧,对应着正在执行的那个方法。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK