Learn how to program Java Memory Analysis Java Tutorial published, Welcome to visit through Xuebiancheng8.com
Java's memory model is a very important knowledge in Java, and is the focus of the interview.
In the memory model of the Java Virtual machine, we deal with many of these areas.
Heap area, stack area, method area.
The method area is divided into constant pool, static zone and method area.
What do these parts do? The heap is used to store new objects, and the heap area is the area where the application is shared.
The stack area is called the method stack, when the program runs, the code is run in the method stack, the code that runs is placed in the method stack to execute, and the register is executed one line at a time.
The method area is the same as the dictionary, the method area stores the information of the class, the information of the method, the information of the property, when the program runs, if you meet the unknown word, go to the method area to view, so you know the meaning. There are static areas in the method area, as the name implies, static, and the constants are stored in the constant pool.
For more information, please visit xuebiancheng8.com.
URL is
Http://xuebiancheng8.com/play/goodgoodstudy_86_daydayup.html
Java Memory analysis of Java tutorials