Introduce MemoryPolicy API
Merge pull request #809 from square/dimitris/memory-policy

Introduce MemoryPolicy API