运行时的数据区域



程序计数器和虚拟机栈

参考:https://blog.csdn.net/qq_43040688/article/details/104970081

本地方法栈和堆

参考:https://blog.csdn.net/qq_43040688/article/details/104972811

方法区

参考:https://blog.csdn.net/qq_43040688/article/details/104982648

直接内存

参考:https://blog.csdn.net/qq_43040688/article/details/104996032