Home  >  Q&A  >  body text

java - jvm的内存是如下这样分类吗?

1,java内存分为:堆内存与非堆内存
2,非堆分为:permgen与栈内存
3,堆内存分为:方法区、常量池、其他存放对象的地方

ringa_leeringa_lee2761 days ago552

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-04-17 17:18:45

    Generally, hotspot virtual machine memory has heap, stack, and Navite area. Permgen is in the heap. After Java8, there is no permgen anymore. Before Java8, the method area and constant pool were in the permanent generation. You can find out on Baidu#🎜 🎜#

    reply
    0
  • Cancelreply