Tuesday, May 13, 2014

Memory Areas allocated by JVM

Leave a Comment
  1. Class (Method) Area - Stores class structures such as runtime constant pool, method data, method code etc.
  2. Heap - Runtime memory area where objects are allocated.
  3. Stack - Holds local variables, method call/retun data.
  4. Program Counter Register - Stores address of JVM instruction currently being executed.
  5. Native Method Stack - Stores all native methods used in the application.

0 comments:

Post a Comment