Detailed jvm java class loading mechanism and the class loader (ClassLoader), method area structure, the structure of the object instance heap

A class loading or class initialization : when the program is actively using a class if the class has not been loaded into memory, then the JVM by loading, connected to the initialization step 3 initializes the class. If not unexpected, JVM will complete three consecutive steps.

Second class loader when: 

 

 

 

 

Guess you like

Origin www.cnblogs.com/insist-bin/p/11223876.html