1. 23 May, 2019 2 commits
  2. 27 Mar, 2019 1 commit
  3. 08 Feb, 2019 3 commits
  4. 26 Dec, 2018 1 commit
  5. 20 Dec, 2018 1 commit
  6. 23 Nov, 2018 1 commit
  7. 06 Nov, 2018 1 commit
    • Yang Guo's avatar
      [snapshot] clear internal fields that are serialized by callback · 4495cba3
      Yang Guo authored
      This is to ensure the snapshot is deterministic.
      
      Internal fields can contain:
      - reference to heap object
      - embedder-defined aligned pointer
      - a smi
      
      The latter two are not distinguishable by V8, so if the serializer
      callback returns non-zero value, we consider it to be an aligned pointer
      and clear it to ensure that the snapshot does not contain memory
      addresses that may not be deterministic. If the callback returns
      { nullptr, 0 } as result, we consider it to be a smi or some in-place
      data that we then serialize verbatim.
      
      
      R=jgruber@chromium.org
      
      Bug: chromium:870584
      Change-Id: I3cf9abf135ffd28d8138fa32636b12596b076e13
      Reviewed-on: https://chromium-review.googlesource.com/c/1304441
      Commit-Queue: Yang Guo <yangguo@chromium.org>
      Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#57272}
      4495cba3
  8. 31 Oct, 2018 1 commit
  9. 09 Jan, 2018 1 commit
  10. 07 Nov, 2017 1 commit
  11. 06 Nov, 2017 2 commits
  12. 19 Sep, 2017 1 commit
  13. 23 Aug, 2017 1 commit
  14. 18 Jul, 2017 1 commit
  15. 17 Mar, 2017 1 commit
    • titzer's avatar
      [rename] Rename internal field to embedder field. · 72e53936
      titzer authored
      This CL renames all occurrences of "internal field" to "embedder field"
      to prevent confusion. As it turns out, these fields are not internal to
      V8, but are actually embedder provided fields that should not be mucked
      with by the internal implementation of V8.
      
      Note that WASM does use these fields, and it should not.
      
      BUG=v8:6058
      
      Review-Url: https://codereview.chromium.org/2741683004
      Cr-Commit-Position: refs/heads/master@{#43900}
      72e53936
  16. 08 Dec, 2016 1 commit
    • yangguo's avatar
      [serializer] include global proxy in additional context snapshots. · 98b563eb
      yangguo authored
      Aside from the default snapshot, there is no need for additional context
      snapshots to have the ability to replace the global proxy and global object
      after deserialization. Changes include:
       - Changes to the API to better distinguish default context snapshot from
         additional context snapshots.
       - Disallow global handles when creating snapshots.
       - Allow extensions when creating snapshots.
      
      This solves the issue of not being able to having accessors and interceptors on
      the global object of contexts to be serialized.
      
      R=jochen@chromium.org, peria@chromium.org
      BUG=chromium:617892
      
      Review-Url: https://codereview.chromium.org/2557743003
      Cr-Commit-Position: refs/heads/master@{#41588}
      98b563eb
  17. 27 Oct, 2016 1 commit
  18. 15 Jun, 2016 1 commit
  19. 10 Jun, 2016 1 commit
  20. 09 Jun, 2016 1 commit
    • lpy's avatar
      Move hashmap into src/base. · 2fd55667
      lpy authored
      We ported hashmap.h into libsampler as a workaround before, so the main focus of
      this patch is to reduce code duplication. This patch moves the hashmap into
      src/base as well as creates DefaultAllocationPolicy using malloc and free.
      
      BUG=v8:5050
      LOG=n
      
      Review-Url: https://codereview.chromium.org/2010243003
      Cr-Commit-Position: refs/heads/master@{#36873}
      2fd55667
  21. 18 May, 2016 1 commit
    • yangguo's avatar
      [serializer] prepare attached references for general use. · 735fa0c4
      yangguo authored
      Currently attached references are only used for global proxy, source
      string and code stubs. Mid-term future we want to use attached
      references for arbitrary objects (in fixed order) provided from outside.
      
      This change renames BackReference to SerializerReference to include both
      back references and attached references.
      
      R=mtrofin@chromium.org, vogelheim@chromium.org
      
      Review-Url: https://codereview.chromium.org/1992723002
      Cr-Commit-Position: refs/heads/master@{#36318}
      735fa0c4
  22. 17 Mar, 2016 1 commit
  23. 01 Mar, 2016 1 commit