Go's Allocator

  • Based of TCMalloc
  • Garbage Collector
    • Tightly coupled with the allocator
    • Makes hard (impossible?) to replace with other implementations
  • Three types of allocations
    • Tiny Allocations (size < 16 bytes, no pointers)
    • Small Allocations (size <= 32 kbytes)
    • Large Allocations
相關文章
相關標籤/搜索