Go's Allocator

Wu_XMing發表於2018-12-20
  • 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

相關文章