Again in loading there are multiple type like
a. Bootstrap loader.
b. Extention loader.
c. Application class loader.
Again in linking there are three type like
There 1st loading part is executive, then linking and at last initializing.
This means class loader subsystem is responsible to perform this above activity. As we seen above .class is input to “class loader subsystem”.
As we know class subsystem loads our class. Now for loading there is requirement memory.
Now there are various memory present inside JVM.
1.Method Area(class leave data and static variable are store.
2.Stack Area(local variable etc.
3.Heap Area(all objects are store in heap memory
4.PC Register(for every thread separate PC register is there.
5.Native Method Area(Separate run type thread