https://codereview.chromium.org/1150593003/diff/60001/src/heap/spaces-inl.h
File src/heap/spaces-inl.h (right):
https://codereview.chromium.org/1150593003/diff/60001/src/heap/spaces-inl.h#newcode304
src/heap/spaces-inl.h:304: object =
free_list_.Allocate(aligned_size_in_bytes);
On 2015/05/21 10:38:17, Hannes Payer wrote:
I don't see how alignment works for free-list allocation. You always
have to
over-allocate there because you cannot check upfront. And if the
free-list
returns already an aligned pointer, you have to place the filler after
the
object (to make the over-allocated memory iterable).
Thanks for pointing this out. I'll have to modify the filling to handle
this case. I would still like to avoid over-allocating when we know the
alignment constraints ahead of time.
https://codereview.chromium.org/1150593003/
--
--
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.