managed heap 中文意思是什麼
-
Entries in this list point to the objects in the managed heap that are ready to have their finalization code called
該列表中的項指向託管堆中準備被調用其終止代碼的對象。垃圾回收器為此列表中的對象調用 -
The finalization queue contains entries for all the objects in the managed heap that need to have their finalization code called before the garbage collector can reclaim their memory
託管堆中所有需要在垃圾回收器回收其內存之前調用它們的終止代碼的對象都在終止隊列中含有項。 -
This reserved address space is called the managed heap
這個保留的地址空間被稱為託管堆。 -
When the garbage collector performs a collection, it checks for objects in the managed heap that are no longer being used by the application and performs the necessary operations to reclaim their memory
當垃圾回收器執行回收時,它檢查託管堆中不再被應用程序使用的對象並執行必要的操作來回收它們佔用的內存。 -
Is moved through a compaction sweep through the managed heap,
實體通過壓縮掃描在託管堆中移動時, -
Initially, this pointer is set to the managed heap s base address
最初,該指針設置為指向託管堆的基址。 -
Gets the size of the managed heap
獲取託管堆的大小。 -
Each root either refers to an object on the managed heap or is set to null
每個根或者引用託管堆中的對象,或者設置為空。 -
It also positions the managed heap s pointer after the last reachable object
它還將託管堆指針定位至最後一個可訪問對象之後。 -
Allocating memory from the managed heap is faster than unmanaged memory allocation
從託管堆中分配內存要比非託管內存分配速度快。 -
Operator to create an object, the runtime allocates memory for the object from the managed heap
運算符創建對象時,運行庫都從託管堆為該對象分配內存。 -
If all the objects in the managed heap survive a collection, then there is no need for memory compaction
如果託管堆中的所有對象均未被回收,則不需要壓縮內存。 -
First, it is faster to compact the memory for a portion of the managed heap than for the entire managed heap
首先,壓縮託管堆的一部分內存要比壓縮整個託管堆速度快。 -
As long as address space is available in the managed heap, the runtime continues to allocate space for new objects
只要託管堆中有地址空間可用,運行庫就會繼續為新對象分配空間。 -
During a collection, the garbage collector examines the managed heap, looking for the blocks of address space occupied by unreachable objects
在回收中,垃圾回收器檢查託管堆,查找無法訪問對象所佔據的地址空間塊。 -
In addition, because new objects that are allocated consecutively are stored contiguously in the managed heap, an application can access the objects very quickly
另外,由於連續分配的新對象在託管堆中是連續存儲,所以應用程序可以快速訪問這些對象。 -
Copies a specified number of characters from a unicode string stored in native heap to a managed
將指定數目的字元從存儲在本機堆中的unicode字元串復制到託管 -
Demonstrates that reference types and value types can only be instantiated on the managed heap, not on the stack or on the native heap
演示只能在託管堆上而不能在堆棧或本機堆上初始化引用類型和值類型。
分享友人