1. 08 Sep, 2020 2 commits
  2. 17 Jun, 2020 1 commit
    • Dan Elphick's avatar
      [heap] Use BasicMemoryChunk::FromHeapObject more · 6f267e8a
      Dan Elphick authored
      Since ReadOnlySpace pages will soon not be MemoryChunks, change most
      uses of MemoryChunk::FromHeapObject and FromAddress to use the
      BasicMemoryChunk variants and which use the new MemoryChunk::cast
      function that takes a BasicMemoryChunk and DCHECKs !InReadOnlySpace().
      
      To enable this, it also moves into BasicMemoryChunk several MemoryChunk
      functions that just require a BasicMemoryChunk.
      
      Bug: v8:10454
      Change-Id: I80875b2c2446937ac2c2bc9287d36e71cc050c38
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2243216
      Commit-Queue: Dan Elphick <delphick@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#68390}
      6f267e8a
  3. 05 May, 2020 1 commit
  4. 17 Jan, 2020 1 commit
  5. 16 Oct, 2019 1 commit
  6. 29 Jul, 2019 1 commit
  7. 14 Jun, 2019 1 commit
  8. 04 Jun, 2019 2 commits
  9. 23 May, 2019 3 commits
  10. 20 May, 2019 3 commits
  11. 07 Mar, 2019 1 commit
    • Sigurd Schneider's avatar
      [heap] Clean-up some weak map entries in scavenger · 4e6a1a75
      Sigurd Schneider authored
      This change enables clean-up of weak map entries in the
      scavenger of the weak map is in the young generation.
      With this change, the scavenger treats keys in ephemerons as
      weak instead of strong, but does not implement full ephemeron
      semantics: Values are treated always as strong, independently
      of whether the key is live or not.
      
      This approach ensures that no value is cleaned up accidentally.
      After scavenging, all entries with dead keys are removed from
      weak maps. After that, some values that are not referenced anywhere
      anymore might still be in the heap, and those can be cleaned up
      in the next scavenge.
      
      What the scavenger does, amounts to one iteration of the
      fixed-point algorithm required to implement ephemeron semantics.
      We hope that this is a reasonable trade-off between time spent
      tracing and cleaned-up entries.
      
      This change does not affect weak maps that reside in old space.
      
      Bug: v8:8557
      Change-Id: Ic5618b3b863ad8c314c87449571150e756fecbf0
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1467182
      Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60101}
      4e6a1a75
  12. 27 Feb, 2019 1 commit
  13. 06 Feb, 2019 1 commit
  14. 05 Feb, 2019 1 commit
  15. 29 Jan, 2019 1 commit
  16. 24 Jan, 2019 1 commit
  17. 23 Jan, 2019 1 commit
  18. 09 Jan, 2019 1 commit
  19. 08 Jan, 2019 1 commit
  20. 20 Dec, 2018 1 commit
  21. 19 Dec, 2018 1 commit
  22. 10 Dec, 2018 3 commits
  23. 29 Nov, 2018 1 commit
  24. 28 Nov, 2018 1 commit
  25. 27 Nov, 2018 2 commits
  26. 26 Nov, 2018 2 commits
  27. 13 Nov, 2018 1 commit
  28. 31 Oct, 2018 3 commits