Monday, December 11, 2006

JVM and Three kinds of memory

JVM has following three kinds of memory:

1. Heap memory: Runtime data area from which memory for all class instances and array is allocated.
2. Non-heap memory: Method area and memory required for internal processing. Method area stores code for method and constructors. It stores per class structures such as runtime constant pool, field and method data.
3. Native memory: Virtual memory managed by the operating system.

0 Comments:

Post a Comment

<< Home