Objects in JVM
Eden space is within the young generation space. Also there is old generation space. Then there is stack memory, survivor space 1 and 2. Then there is PermGen space and Pure Native area.
I was asked to write a java program preferable a web code to demonstrate when the object is stored in each of these JVM memory[eden, young, old, permgenspace, native, survivor] and when would it be destroyed and how the object moves about in these spaces.
Can someone please showcase ?
Re: Objects in JVM