Is stack a logical memory area in heap?

This question already has an answer here:

  • Is frame in JVM heap allocated or stack allocated? 1 answer

  • The JVM uses the native stack of the process. This minimise overhead, and allows the stack to be virtual (it can have a maximum size much larger than what is actually used)

    As a result most stacks are rarely used much ( << 10% of maximum ) and graphing them might be more confusing than useful.


    编号堆栈是专用于存放与方法调用相关的信息的不同区域的存储区,例如参数值以及程序流在方法返回后应返回的位置。

    链接地址: http://www.djcxy.com/p/2344.html

    上一篇: 这些堆栈分配或堆分配?

    下一篇: 在堆中堆叠逻辑内存区域?