Reviewers: Erik Corry,
Message:
We used to iterate the reloc info an extra time to turn internal references
into
relative addresses when serializing, and again when deserializing to turn
relative addresses into absolute addresses.
Since we iterate the reloc info anyways, we now emit opcode for internal
references. This uses a bit more space, but is faster and internal
references
are rather rare anyways.
Platform ports to ARM are coming up. This is for the first round of
comments.
Description:
Serializer: serialize internal references via object visitor.
Please review this at https://codereview.chromium.org/1005183006/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+94, -48 lines):
M src/heap/objects-visiting.h
M src/heap/objects-visiting-inl.h
M src/ia32/assembler-ia32.h
M src/ia32/assembler-ia32-inl.h
M src/objects.h
M src/serialize.h
M src/serialize.cc
M src/x64/assembler-x64.h
M src/x64/assembler-x64-inl.h
M test/cctest/test-serialize.cc
--
--
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.