Skip to content

Commit 145c0c1

Browse files
作者建议 将 StackOverflowError 的修改一并提交
作者建议 将 StackOverflowError 的修改一并提交
1 parent 1d6bd9c commit 145c0c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/jvm/MemoryAllocation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
每一个栈帧由`局部变量区``操作数栈`等组成。每创建一个栈帧压栈,当一个方法执行完毕之后则出栈。
1616

1717
> - 如果出现方法递归调用出现死循环的话就会造成栈帧过多,最终会抛出 `StackOverflowError`
18-
> - 若线程执行过程中栈帧大小超出虚拟机栈限制,则会抛出 `StackOverFlowError`
18+
> - 若线程执行过程中栈帧大小超出虚拟机栈限制,则会抛出 `StackOverflowError`
1919
> - 若虚拟机栈允许动态扩展,但在尝试扩展时内存不足,或者在为一个新线程初始化新的虚拟机栈时申请不到足够的内存,则会抛出
2020
`OutOfMemoryError`
2121

0 commit comments

Comments
 (0)