JVM memory mapping over a Linux Process

ぃ、小莉子 提交于 2019-12-24 12:38:23

问题


I am trying to understand how JVM's memory maps to that of the underlying Linux process.

Here is my understanding of JVM's memory architecture:

https://dl.dropboxusercontent.com/u/38889378/jvm_arch.jpg

Now the next diagram shows the mapping of memory when a JVM instance is scheduled over a Linux process.

https://dl.dropboxusercontent.com/u/38889378/OS_Process.jpg

Here I have taken the following assumptions:

  1. The JVM Stack is actually part of the Linux Process HEAP, and hence we can say all Java user program is held over the Linus Process HEAP.

  2. Linux Process Stack is used for Native Stack and also used by JVM's internal native procedure calls.

Please help me figure out if my assumptions are correct.

Please excuse me for putting up Image URL's, I don't have enough reputation to have them embedded. I am a new user, sorry for the inconvenience and thanks for all the help.

来源:https://stackoverflow.com/questions/21745044/jvm-memory-mapping-over-a-linux-process

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!