https://codereview.chromium.org/391413006/diff/20001/src/heap.h
File src/heap.h (right):
https://codereview.chromium.org/391413006/diff/20001/src/heap.h#newcode749
src/heap.h:749: EventBuffer event_buffers_[2];
On 2014/07/22 14:09:28, ernstm wrote:
On 2014/07/22 09:10:17, Hannes Payer wrote:
> Ah, now I see why you have to initialize the enum. Why don't we use
two
> EventBuffer intances?
> EventBuffer scavenber_buffer_;
> EventBuffer mark_compact_buffer_;
> Should actually result in more compact code. WDYT? However, I can
live with
both
> options.
I've chosen the array, because the Previous() method can be
implemented more
compactly if the 'other' ring buffer can be selected by index.
Update: The latest version uses two separate members.
https://codereview.chromium.org/391413006/
--
--
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.