1. 23 May, 2019 3 commits
  2. 22 May, 2019 1 commit
  3. 08 Jan, 2019 1 commit
  4. 26 Dec, 2018 1 commit
  5. 20 Dec, 2018 1 commit
  6. 16 Oct, 2018 1 commit
    • Dan Elphick's avatar
      Clarify roots iteration · 08b8e0ff
      Dan Elphick authored
      Change Heap::IterateStrongRoots to never iterate the read-only roots. In
      doing so remove VISIT_ALL_BUT_READ_ONLY and
      VISIT_ONLY_STRONG_FOR_SERIALIZATION. All such uses should now use
      VISIT_ALL and VISIT_ONLY_STRONG. Where ReadOnlyRoots iteration is
      required, this adds ReadOnlyRoots(isolate)->Iterate() at the call site.
      
      Add new begin, end, strong_mutable_roots_begin and
      strong_mutable_roots_end methods to RootsTable and try and make the
      existing uses a little more consistent.
      
      Bug: v8:8191
      Change-Id: Ie9d0f9e5186db418428e2fafd38432b0bd879daa
      Reviewed-on: https://chromium-review.googlesource.com/c/1278500
      Commit-Queue: Dan Elphick <delphick@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#56672}
      08b8e0ff
  7. 11 Oct, 2018 1 commit
  8. 10 Oct, 2018 1 commit
  9. 09 Oct, 2018 1 commit
  10. 26 Sep, 2018 1 commit
  11. 20 Sep, 2018 1 commit
  12. 13 Oct, 2017 1 commit
  13. 11 Jul, 2017 1 commit
  14. 10 Jul, 2017 2 commits
  15. 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
  16. 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
  17. 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
  18. 08 Feb, 2016 1 commit
    • yangguo's avatar
      [serializer] Ensure immortal immovable roots are deserialized correctly. · 07d40b74
      yangguo authored
      The serializer collects objects in iteration order, not in allocation
      order. This means that the deserializer will put these objects in
      iteration order onto the reserved pages as well. There is no guarantee
      that objects that were on the first page will end up on the first page
      after deserialization.
      
      Until now we got lucky, since we only ever need one space per page for
      the default snapshot. For roots, the iteration order and allocation
      order also do not differ enough to cause any issue for immortal
      immovable root objects. These objects need to stay on the first page of
      its allocated space to not move.
      
      However, let's make sure it stays this way, and we realize soon enough
      if this assumption does not hold.
      
      R=mstarzinger@chromium.org
      
      Review URL: https://codereview.chromium.org/1675553002
      
      Cr-Commit-Position: refs/heads/master@{#33810}
      07d40b74
  19. 23 Oct, 2015 1 commit