A little question about JMM

< H1 > Hello, everyone. I just watched a video tutorial. I have a question < / H1 >.

Video tutorial. Is it true to say that stack data can be shared in jmm?

I remember that the data in the heap can be shared. Is he wrong?

May.22,2021

share? What the landlord said was whether the two quotes went to the same place. If it is a basic type such as int, it is not shared. See "Think in Java" fourth edition:

takes the same approach as c and cPP for these types (the basic data type), Java).

such values are directly stored in open space, and no two variables are "referenced" to the same place. I almost decided that the video tutorial was wrong.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b30f73-2bd53.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b30f73-2bd53.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?