>
> So for instance, in this case if i hand a initial ammount in Reserve()
> giving i can expect v8 to call Alloc() later for the real deal, i can just
> hand it back the heap i've reserved before
> with the right offset while the buffer has enough size?
>

I don't think you should make any assumptions that V8 wants to be given the
same memory twice.
If you need inspiration for how to write your allocator, look at the
default allocator that V8 ships with.

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to