0

How many memory areas types are allocated by JVM?

15th Jul 2016, 5:17 PM
Manish Mohan Badgujar
Manish Mohan Badgujar - avatar
2 Réponses
0
stack,heap and perm gen space...
15th Jul 2016, 8:12 PM
deepanshu7211
0
There are six main types of memory areas that are allocated by JVM. These include: 1. Class loader – a subsystem of JVM that is used to load class files. 2. Class (Method) Area – stores per-class structures such as the runtime constant pool, field and method data, the code for methods. 3. Heap - is the runtime data area in which objects are allocated. 4. Stack - stores frames and holds local variables and partial results. Participates in method invocation and return. 5. Program Counter (PC) Register - contains the address of the JVM instruction that is currently being executed. 6. Native Method Stack - contains all native methods used in the application. More Java Interview Questions... http://net-informations.com/java/cjava/default.htm Dell
23rd May 2017, 5:28 AM
Dell Mercant
Dell Mercant - avatar