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
歡迎關注本站公眾號,獲取更多信息