援引在《The Java Virtual Machine Specification Java SE 14 Edition》中描述
对堆得描述
The Java Virtual Machine has a heap that is shared among all Java Virtual Machinethreads. The heap is the run-time data area from which memory for all classinstances and arrays is allocated.
简单翻译就是:堆所有Java线程共享的,是用来分配所有类实例和数组的内存的运行时数据区域。
对方法区的描述
The Java Virtual Machine has a