1. 01 Feb, 2019 1 commit
  2. 27 Dec, 2018 1 commit
  3. 26 Dec, 2018 1 commit
  4. 26 Nov, 2018 1 commit
    • Marja Hölttä's avatar
      [iwyu] Include heap-inl.h less. · 0453d418
      Marja Hölttä authored
      - Remove heap-inl.h includes from places where it looked unnecessary. (This is a
        non-scientific approach, because it's probably pulled in indirectly anyway.)
      
      - Annotate places which include heap-inl.h because they need heap/ internals.
      
      - ACCESSORS legitimately needs heap-inl.h because of Heap::FromWritableHeapObject.
      
      - Add includes to heap/heap-write-barrier(-inl).h
      
      - A bunch of IWYU fixes discovered when working on this CL (includes which were
        missing because heap-inl.h pulls them in indirectly).
      
      BUG=v8:7490,v8:8238,v8:8499
      
      Change-Id: I00f9a74d430f13d7c080dca77a92b03bcca7ef96
      Reviewed-on: https://chromium-review.googlesource.com/c/1349241Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
      Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Commit-Queue: Marja Hölttä <marja@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#57814}
      0453d418
  5. 24 Nov, 2018 1 commit
  6. 13 Nov, 2018 1 commit
  7. 31 Oct, 2018 3 commits
  8. 19 Oct, 2018 1 commit
  9. 12 Oct, 2018 1 commit
  10. 11 Oct, 2018 1 commit
  11. 10 Oct, 2018 1 commit
  12. 09 Oct, 2018 4 commits
  13. 04 Oct, 2018 1 commit
    • Dan Elphick's avatar
      [heap] Skip marking of read-only roots · df625be0
      Dan Elphick authored
      Adds new VisitModes VISIT_ALL_BUT_READ_ONLY and
      VISIT_STRONG_FOR_SERIALIZATION.
      
      GC-related methods like MarkReachableObjects now now use
      VISIT_ALL_BUT_READ_ONLY instead of VISIT_ALL. All GC-related VisitModes
      skip iterating over the read-only roots.
      
      All Serializer methods should always use a _FOR_SERIALIZATION value to
      ensure they do visit the read-only roots.
      
      Also adds RootsTable::read_only_roots_begin and end methods.
      
      Bug: v8:7464
      Change-Id: I468d7ae9f345d9fc0e10837f01dc5b92bd996412
      Reviewed-on: https://chromium-review.googlesource.com/c/1256245Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
      Commit-Queue: Dan Elphick <delphick@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#56368}
      df625be0
  14. 26 Sep, 2018 2 commits
  15. 24 Sep, 2018 2 commits
  16. 21 Sep, 2018 2 commits
  17. 20 Sep, 2018 1 commit
  18. 17 Jul, 2018 1 commit
  19. 09 Jul, 2018 1 commit
  20. 06 Jul, 2018 1 commit
  21. 03 Jul, 2018 2 commits
    • Dan Elphick's avatar
      [explicit isolates] Move remaining roots to ReadOnyRoots · f9c4d000
      Dan Elphick authored
      Moves STRUCT_LIST AND ALLOCATION_SITE_LIST into roots.h and adds access
      to their associated maps using ReadOnlyRoots.
      
      Also corrects the location of external_map, message_object_map,
      empty_script, many_closures_cell, invalid_prototype_validity_cell and
      builtins_constants_table which are not in RO_SPACE.
      
      Finally this adds a convenience ReadOnlyRoots(Isolate*) constructor.
      
      Bug: v8:7786
      Change-Id: I4982dd0cbea2062a124605678599ba48831f020f
      Reviewed-on: https://chromium-review.googlesource.com/1124319Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Commit-Queue: Dan Elphick <delphick@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#54178}
      f9c4d000
    • Dan Elphick's avatar
      [explicit isolates] Add ReadOnlyRoots · ff32ba8e
      Dan Elphick authored
      Adds a ReadOnlyRoots class trivially constructable from a Heap* or
      Isolate* and which can be obtained from a any HeapObject which provides
      access to roots objects that will always be in RO_SPACE. In the longer
      term this object will be accessed via a global variable without
      requiring an Isolate or using the memory address of a HeapObject to
      infer it.
      
      Moves the list macros in heap.h to roots.h and splits some of them into
      two parts (read-only and mutable).
      
      Convert cases of heap_object->GetHeap()->root_accessor() to
      heap_objects->GetReadOnlyRoots().root_accessor().
      
      Bug: v8:7786
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
      Change-Id: I14b01052adb2af9a5ec82b970e933d6a423d17a5
      Reviewed-on: https://chromium-review.googlesource.com/1122127
      Commit-Queue: Dan Elphick <delphick@chromium.org>
      Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#54160}
      ff32ba8e