運行時數(shù)據(jù)區(qū)域

程序計數(shù)器
線程私有,記錄當(dāng)前線程執(zhí)行的字節(jié)的行號指示器。在虛擬機的概念模型里,字節(jié)碼解釋器工作時就是通過改變這個計數(shù)器的值來選取下一條需要執(zhí)行的字節(jié)碼指令。
為什么是線程私有?
在任何一個確定的時刻,一個處理器都只會執(zhí)行一條線程中的指令。因此,為了線程切換之后能夠回復(fù)到正確的執(zhí)行位置,每條線程都需要一個獨立的程序計數(shù)器,各條線程之間計數(shù)器互不影響,獨立存儲。所以稱之為“線程私有”。
Java虛擬機棧
Java虛擬機棧是線程私有的,它的生命周期與線程相同。描述的是Java方法執(zhí)行的內(nèi)存模型:每個方法在執(zhí)行的同時都會創(chuàng)建一個棧幀用于存儲局部變量表,操作數(shù)棧,動態(tài)鏈接,方法出口等信息。
本地方法棧
本地方法棧與虛擬機棧發(fā)揮的作用非常相似的,他們之間的區(qū)別不過是虛擬機棧為虛擬機執(zhí)行Java方法服務(wù),而本地方法棧則為虛擬機使用到的Native方法服務(wù)。
Java堆(Heap)
Java堆是被所有線程共享的一塊內(nèi)存區(qū)域,在虛擬機啟動時創(chuàng)建。此內(nèi)存區(qū)域的唯一目的就是存放對象實例,幾乎所有的對象實例都在這里分配內(nèi)存。同時也被稱為“GC堆”(Garbage Collected Heap) 。Java 堆可以處于物理上不連續(xù),但邏輯上連續(xù)即可,可以通過-Xmx和-Xms控制和擴展大小。
Java方法區(qū)
方法區(qū)與Java堆一樣,是各個線程共享的內(nèi)存區(qū)域,它用于存儲已經(jīng)被虛擬機加載的類信息、常量、靜態(tài)變量、即時編譯后的代碼等數(shù)據(jù)。它還包括運行時常量池。
constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });
constbtw =newBTWPlugin(); btw.init({id:'container',blogId:'18832-1575955264314-312',name:'雪關(guān)馬不前',qrcode:'http://www.zmxtea.com/resource/qrcode.jpg',keyword:'520', });