[Road] full stack of ten _JAVA JAVA virtual machine basic course (20190706v1.1)

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/houjiyu243042162/article/details/94874926

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

Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description

Detailed framework

Here Insert Picture Description

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

Guess you like

Origin blog.csdn.net/houjiyu243042162/article/details/94874926