Learn 2____ the JVM memory allocation principles

Introduced before, in order to improve the efficiency of Java GC instances of objects can also be created outside the heap, but the vast majority of instances or objects created in the heap area. It contains three types of reference i.e. the JVM: class type (class type), the type of array (array type), the type of the interface (interface type), these types of reference values ​​by class instances, an array of instances, each instance of a class that implements the interface dynamically create.

Guess you like

Origin www.cnblogs.com/xbfchder/p/11392062.html