# Memory Allocator Skill

Expert skill for custom memory allocator design optimized for language runtime needs.

## Quick Reference

- **Category**: Memory Management
- **ID**: SK-009

## Key Capabilities

- Bump/arena allocator implementation
- Free-list allocators with size classes
- Slab allocator design for fixed-size objects
- Thread-local allocation buffers (TLAB)
- Large object allocation strategies
- Memory pooling and recycling
- Memory profiling and statistics
- Address space layout optimization

## When to Use

Use this skill when implementing:
- Custom memory allocators for language runtimes
- Performance-optimized allocation strategies
- GC-integrated allocation systems
- Memory profiling infrastructure

## Related Skills

- garbage-collection (SK-008)
- bytecode-vm (SK-010)
- concurrency-primitives (SK-020)
