Welcome to the JAVA foundation course
Blog address: https://segmentfault.com/a/1190000019684527
This series of articles will mainly explain some of the basics for JAVA point, usually summarized as summarized, whether it is new to JAVA development industry veteran or rookie, hope the majority peer bring some help. If you have questions please leave a message or add QQ: 243042162.
Message:
in life there will be many opportunities, maybe you think you missed a beautiful opportunity, but unconsciously new opportunities has quietly come.
JAVA virtual machine
JVM JAVA language to achieve the most important features: platform independence. The principle: java program is not executed directly on the operating system, but executed by the JVM.
basic component
Detailed framework
Steps:
1. From the operating system point of view, the virtual machine JVM (people) just an ordinary process.
2. Virtual machines can be loaded we write class files (food) .
3. Load the class file is called a class loader subsystem (mouth) .
4. The virtual machine execution engine (parenteral) for executing instruction bytecode class files.
5. Virtual Machine in the implementation process, to allocate memory to create the object. When these objects are useless and outdated, and must automatically clean up these useless objects. Task clean up the object recovery of memory by the garbage collector is responsible. Like people eat the food, after digestion, waste must be removed from the body, it can free up space when hungry at the next meal and digest food.
Reference website:
(1) https://www.jianshu.com/p/c0713884fb12
(2) https://blog.csdn.net/lilamei170607/article/details/81428781