Methods' lifecycle in memory
-
Private JVM Stack in Stack memory is created
-
New frame is created and stored in the stack
-
Frame destroyed when method invocation completes
A new one will be created again when the method is invoked.
Children
Private JVM Stack in Stack memory is created
New frame is created and stored in the stack
Frame destroyed when method invocation completes
A new one will be created again when the method is invoked.