java basic types of storage

For basic data types, java and no concept of basic data pools, each assignment and will not make any queries on the stack, but directly stored value.

 


However, the basic data types of the wrapper, within a certain range of values ​​is located in the runtime constant pool.

Some do not fly this blog will confuse the notion that the basic data types stored in the first go back and see if there is the value of the stack,

If not then put

Guess you like

Origin www.cnblogs.com/pw126046/p/11015268.html