Article · 中文
記憶池(Memory Pool),又被稱為固定大小區塊規劃(fixed-size-blocks allocation),允許程式設計師以類似 C語言 的 或是 C++ 的 new 運算元進行動態的記憶體規劃。對於其它動態記憶體規劃的實踐來說,因為會變動記憶體區塊大小導致的碎片問題,導致在上受限於效能因此,根本無法使用。記憶池提供了一個更有效率的解決方案:預先規劃一定數量的記憶體區塊,使得整個程式可以在執行期規劃 (allocate)、使用 (access)、歸還 (free) 記憶體區塊。 有許多實時作業系統採用了記憶池,IBM 的 便是其中一個例子。
Abstract from DBpedia / Wikipedia · CC BY-SA
Connections
C dynamic memory allocation
Entity
memory management
Entity
fragmentation
Entity
new
Entity
Q2407
Entity
virtual memory
Entity
nginx
Entity
garbage collection
Entity
real-time operating system
Entity
buffer overflow
Entity
memory management unit
Entity
control flow
Entity
paging
Entity
recursion
Entity
real-time computing
Entity
memory leak
Entity
constructor
Entity
memory segmentation
Entity
protected mode
Entity
destructor
Entity