All fixed! Let's Land Zis Thing! ;)
Thanks!
https://codereview.chromium.org/1326613002/diff/80001/src/heap/heap.cc
File src/heap/heap.cc (right):
https://codereview.chromium.org/1326613002/diff/80001/src/heap/heap.cc#newcode1778
src/heap/heap.cc:1778: reinterpret_cast<v8::Isolate*>(isolate_)
On 2015/09/02 07:22:59, Michael Lippautz wrote:
amount_of_external_allocated_memory_ -= length;
Acknowledged.
https://codereview.chromium.org/1326613002/diff/80001/src/heap/mark-compact.cc
File src/heap/mark-compact.cc (right):
https://codereview.chromium.org/1326613002/diff/80001/src/heap/mark-compact.cc#newcode1870
src/heap/mark-compact.cc:1870: // If we end up needing more special
cases, we should factor this out.
On 2015/09/02 07:23:00, Michael Lippautz wrote:
Remove this comment.
Acknowledged.
https://codereview.chromium.org/1326613002/diff/80001/src/heap/mark-compact.cc#newcode4443
src/heap/mark-compact.cc:4443: // will be erroneously freed.
On 2015/09/02 07:23:00, Michael Lippautz wrote:
Replace to:
EvacuateNewSpaceAndCandidates iterates over new space objects and for
ArrayBuffers either re-registers them as live or promotes them. This
is needed
to properly free them.
Acknowledged.
https://codereview.chromium.org/1326613002/diff/80001/src/heap/objects-visiting-inl.h
File src/heap/objects-visiting-inl.h (right):
https://codereview.chromium.org/1326613002/diff/80001/src/heap/objects-visiting-inl.h#newcode538
src/heap/objects-visiting-inl.h:538:
JSArrayBuffer::cast(object)->backing_store());
On 2015/09/02 07:23:00, Michael Lippautz wrote:
Can't we just call this as
heap->RegisterLiveArrayBuffer(
heap->InNewSpace(object),
JSArrayBuffer::cast(object)->backing_store()));
?
Not really, the idea to have mark+evacuate register all buffers. Mark is
going to register old space buffers, evacuate - new space only.
https://codereview.chromium.org/1326613002/
--
--
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.