On 2/13/16 5:01 PM, deadalnix wrote:
What about storing the metadata at an address that is computable from
from the object's address, while not being contiguous with the object
allocated ? Is substracting a constant really the only option here ?
(hint, it is not)

I'd say, you have at your disposal a flexible allocator framework so a simple way to go about it would be to implement new allocators that take various options about storing metadata. -- Andrei

Reply via email to