1. 13 Oct, 2017 1 commit
  2. 11 Jul, 2017 1 commit
  3. 10 Jul, 2017 2 commits
  4. 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
  5. 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
  6. 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
  7. 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
  8. 23 Oct, 2015 1 commit