Reviewers: Benedikt Meurer,

Description:
Make snapshots reproducible.

To keep the structure of the serializer more or less untouched, we use
some ingenious Corry-approved(TM) 3-step technology (a.k.a. "hack"):

   * Create copies of code objects.
   * Wipe out all absolute addresses in these copies.
   * Write out the cleaned copies instead of the originals.

In conjunction with --random-seed, our snapshots are reproducible now.


Please review this at https://codereview.chromium.org/54823002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+99, -4 lines):
  M src/arm/assembler-arm-inl.h
  M src/assembler.h
  M src/ia32/assembler-ia32-inl.h
  M src/mips/assembler-mips-inl.h
  M src/objects-inl.h
  M src/objects.h
  M src/serialize.cc
  M src/x64/assembler-x64-inl.h


--
--
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/groups/opt_out.

Reply via email to