1. 26 Dec, 2018 1 commit
  2. 20 Dec, 2018 1 commit
  3. 19 Oct, 2018 1 commit
  4. 10 Oct, 2018 2 commits
    • Dan Elphick's avatar
      Reland "[snapshot] Factor out root serialization code" · ce9198e4
      Dan Elphick authored
      This is a reland of 22b56f47
      
      Nothing has changed. This is a reland of a speculative revert.
      
      Original change's description:
      > [snapshot] Factor out root serialization code
      >
      > Factors out a new method Serializer::SerializeRoot which attempts to
      > serialize a given object as a Root if it is one and the Serializer's
      > policy allows that root to be serialized (implemented as a new virtual
      > method RootCanBeSerialized)..
      >
      > This is in preparation for adding a ReadOnlySerializer which change the
      > way read-only roots are serialized.
      >
      > Bug: v8:8191
      > Change-Id: I7fbb4e9520fba8b836a0b6bf95ca39abc3ded79e
      > Reviewed-on: https://chromium-review.googlesource.com/c/1264698
      > Reviewed-by: Jakob Gruber <jgruber@chromium.org>
      > Commit-Queue: Dan Elphick <delphick@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#56494}
      
      TBR=jgruber
      
      Bug: v8:8191
      Change-Id: I30a606b9c99f5651fae323d12f8f74b13bb085fa
      Reviewed-on: https://chromium-review.googlesource.com/c/1273103Reviewed-by: 's avatarDan Elphick <delphick@chromium.org>
      Commit-Queue: Dan Elphick <delphick@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#56519}
      ce9198e4
    • Maya Lekova's avatar
      Revert "[snapshot] Factor out root serialization code" · 74aea87a
      Maya Lekova authored
      This reverts commit 22b56f47.
      
      Reason for revert: Speculatively reverting because it increases Android binary size unexpectedly, see https://ci.chromium.org/p/chromium/builders/luci.chromium.try/android-binary-size/72572
      
      Original change's description:
      > [snapshot] Factor out root serialization code
      > 
      > Factors out a new method Serializer::SerializeRoot which attempts to
      > serialize a given object as a Root if it is one and the Serializer's
      > policy allows that root to be serialized (implemented as a new virtual
      > method RootCanBeSerialized)..
      > 
      > This is in preparation for adding a ReadOnlySerializer which change the
      > way read-only roots are serialized.
      > 
      > Bug: v8:8191
      > Change-Id: I7fbb4e9520fba8b836a0b6bf95ca39abc3ded79e
      > Reviewed-on: https://chromium-review.googlesource.com/c/1264698
      > Reviewed-by: Jakob Gruber <jgruber@chromium.org>
      > Commit-Queue: Dan Elphick <delphick@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#56494}
      
      TBR=jgruber@chromium.org,delphick@chromium.org,ygg@google.com
      
      Change-Id: I7012abec0f33f655efc64dc44f7fa461d7e4b7e9
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:8191
      Reviewed-on: https://chromium-review.googlesource.com/c/1273098Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
      Commit-Queue: Maya Lekova <mslekova@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#56509}
      74aea87a
  5. 09 Oct, 2018 1 commit
    • Dan Elphick's avatar
      [snapshot] Factor out root serialization code · 22b56f47
      Dan Elphick authored
      Factors out a new method Serializer::SerializeRoot which attempts to
      serialize a given object as a Root if it is one and the Serializer's
      policy allows that root to be serialized (implemented as a new virtual
      method RootCanBeSerialized)..
      
      This is in preparation for adding a ReadOnlySerializer which change the
      way read-only roots are serialized.
      
      Bug: v8:8191
      Change-Id: I7fbb4e9520fba8b836a0b6bf95ca39abc3ded79e
      Reviewed-on: https://chromium-review.googlesource.com/c/1264698Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Commit-Queue: Dan Elphick <delphick@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#56494}
      22b56f47
  6. 26 Sep, 2018 1 commit
  7. 04 Jul, 2018 1 commit
  8. 14 Apr, 2018 1 commit
    • Jakob Kummerow's avatar
      [ubsan] Change Address typedef to uintptr_t · 2459046c
      Jakob Kummerow authored
      The "Address" type is V8's general-purpose type for manipulating memory
      addresses. Per the C++ spec, pointer arithmetic and pointer comparisons
      are undefined behavior except within the same array; since we generally
      don't operate within a C++ array, our general-purpose type shouldn't be
      a pointer type.
      
      Bug: v8:3770
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;master.tryserver.blink:linux_trusty_blink_rel
      Change-Id: Ib96016c24a0f18bcdba916dabd83e3f24a1b5779
      Reviewed-on: https://chromium-review.googlesource.com/988657
      Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52601}
      2459046c
  9. 10 Aug, 2017 1 commit
  10. 08 Dec, 2016 1 commit
  11. 14 Nov, 2016 1 commit
    • yangguo's avatar
      [serializer] small fixes for blink snapshot. · c759a3d8
      yangguo authored
      Changes include:
       - Adding V8_EXPORT macro for SnapshotCreator
       - Removing outdated DCHECKs.
       - Allow nullptr as external reference. This required a...
       - Refactoring of hashmaps used by the serializer.
       - Remove external references for counters. These are not used
         anywhere for isolates that are being serialized.
       - Put template infos into the partial snapshot cache.
       - Remove unnecessary presubmit check for external references.
         mksnapshot crashes if external references are missing.
      
      R=jochen@chromium.org, vogelheim@chromium.org
      BUG=chromium:617892
      
      Review-Url: https://codereview.chromium.org/2490783004
      Cr-Commit-Position: refs/heads/master@{#40949}
      c759a3d8
  12. 29 Sep, 2016 1 commit
    • leszeks's avatar
      [base] Template MatchFun in TemplateHashMapImpl · 837c91e8
      leszeks authored
      Make MatchFun a template parameter in TemplateHashMapImpl, moving the
      PointersMatch function down to an implementation which extends
      TemplateHashMapImpl to void* key and value (i.e. the same as the current
      HashMap and ZoneHashMap typedefs).
      
      This will allow other instantiations of TemplateHashMapImpl, with
      different MatchFun values, e.g. std::equal_to, to have their key
      equality test inlined, rather than calling a function pointer,
      
      Review-Url: https://codereview.chromium.org/2354593002
      Cr-Commit-Position: refs/heads/master@{#39868}
      837c91e8
  13. 10 Aug, 2016 1 commit
  14. 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
  15. 18 May, 2016 2 commits
  16. 23 Oct, 2015 1 commit