I\'d like to force a specific heap allocation to return an address that\'s 64-byte aligned, because that\'s a cache line boundary. I thought I could do it like this
Ask for 64 more bytes than you need, then generate a cache aligned address within the allocated space. Taking care to free the whole allocated memory at the end.