A Developer Gateway To IT World...

Techie Uncle Software Testing Core Java Java Spring C Programming Operating System HTML 5 Java 8 ES6 Project

Runtime mechanism

For every thread jvm will create a runtime stack.
  • Each and every method called performed by that thread.
  • It will be stored in corresponding stack.
  • Each entry in stack is called activation record or stack frame.
  • After completing every method, stack releases corresponding entry from stack.
  • After completing all method, stack will be empty and finally jvm will destroy this stack.