Method Area and PermGen

前端 未结 4 577
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-13 14:45

I was trying to understand the memory structure of HotSpot JVM and got confused with the two terms \"Method Area\" and \"PermGen\" space. T

4条回答
  •  -上瘾入骨i
    2020-12-13 15:37

    Method Area is basically a non heap space like Stack which keeps class skeleton. skeleton includes static variables with values, constructors etc. The reflection operation are operated on this memory area. Perm is a memory space parallel to heap with keeps the binary code of current executing class.

提交回复
热议问题