1. 28 Aug, 2018 1 commit
  2. 20 Aug, 2018 1 commit
  3. 14 Aug, 2018 2 commits
  4. 14 Jun, 2018 1 commit
  5. 15 May, 2018 1 commit
    • Wez's avatar
      [heap] Replace retained_size() with ExternalBackingStoreBytes(). · aca33312
      Wez authored
      ArrayBuffer memory allocated off-heap was previously tracked by a test-
      only retained_size() field on each LocalArrayBufferTracker.
      
      Changes in off-heap ArrayBuffer memory usage are now reported to the
      Space with which the ArrayBuffer is associated, so that the value is
      cheaply available to include in e.g. GC limit calculations, via a new
      getter, ExternalBackingStoreBytes().
      
      Changes to external ArrayBuffer backing-store allocations are tracked in
      an AtomicNumber associated with each Space, to allow for ArrayBuffers
      being concurrently moved or freed from multiple Pages in the same Space
      during sweeps & compactions.
      
      Bug: chromium:837583
      Change-Id: I8b1b6addd5cd05533d8da55ca813e134bc36e181
      Reviewed-on: https://chromium-review.googlesource.com/1052347
      Commit-Queue: Wez <wez@chromium.org>
      Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#53192}
      aca33312
  6. 26 Mar, 2018 1 commit
  7. 15 Mar, 2018 1 commit
  8. 01 Mar, 2018 1 commit
    • Gabriel Charette's avatar
      [v8 platform] Get rid of unused ExpectedRuntime parameter. · 86b4b534
      Gabriel Charette authored
      With a temporary intermediate step to allow adapting embedders before
      getting rid of the ExpectedRuntime method altogether.
      
      The method is being renamed to CallOnWorkerThread() as an effort to
      go away from "background" nomenclature for worker threads ("background"
      usually refers to a priority but worker threads are commonly used for
      high priority tasks in v8).
      Other CLs will follow to rename other "background" APIs.
      
      Bug: v8:7310
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I2fd4eac7458708d4eacb0f4871c982a567a3865e
      Reviewed-on: https://chromium-review.googlesource.com/941442
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51645}
      86b4b534
  9. 14 Dec, 2017 1 commit
    • Ulan Degenbaev's avatar
      [heap] Emit trace event for background GC tasks. · 2031503a
      Ulan Degenbaev authored
      The following events in v8.gc category are emitted:
      - V8.GC_BACKGROUND_ARRAY_BUFFER_FREE
      - V8.GC_BACKGROUND_STORE_BUFFER
      - V8.GC_BACKGROUND_UNMAPPER
      - V8.GC_MC_BACKGROUND_EVACUATE_COPY
      - V8.GC_MC_BACKGROUND_EVACUATE_UPDATE_POINTERS
      - V8.GC_MC_BACKGROUND_MARKING
      - V8.GC_MC_BACKGROUND_SWEEPING
      - V8.GC_MINOR_MC_BACKGROUND_EVACUATE_COPY
      - V8.GC_MINOR_MC_BACKGROUND_EVACUATE_UPDATE_POINTERS
      - V8.GC_MINOR_MC_BACKGROUND_MARKING
      - V8.GC_SCAVENGER_BACKGROUND_SCAVENGE_PARALLEL
      
      Bug: chromium:758183
      Change-Id: I04368f75ac740cbc832a864609709e5a46f5baef
      Reviewed-on: https://chromium-review.googlesource.com/825203
      Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
      Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#50107}
      2031503a
  10. 07 Dec, 2017 1 commit
  11. 20 Nov, 2017 3 commits
    • Peter Marshall's avatar
      reland: [heap] Concurrently free ArrayBuffer allocations. · d8981833
      Peter Marshall authored
      Free ArrayBuffer backing stores on a background thread, rather than
      blocking the main thread after processing. Could potentially cause
      contention with the array buffer allocator once JS execution resumes.
      
      The new ArrayBufferCollector class tracks these dead allocations.
      
      Later, the processing of array buffers can happen in parallel.
      
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng;master.tryserver.v8:v8_linux64_tsan_rel;master.tryserver.v8:v8_linux64_tsan_concurrent_marking_rel_ng;master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
      
      Bug: v8:6992
      Change-Id: I2b74f008f79521414374f607ed510f66508af160
      Reviewed-on: https://chromium-review.googlesource.com/779182
      Commit-Queue: Peter Marshall <petermarshall@chromium.org>
      Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#49505}
      d8981833
    • Peter Marshall's avatar
      Revert "[heap] Concurrently free ArrayBuffer allocations." · 3b31e5be
      Peter Marshall authored
      This reverts commit b6658ade.
      
      Reason for revert: Breaks TSAN :(
      
      Original change's description:
      > [heap] Concurrently free ArrayBuffer allocations.
      > 
      > Free ArrayBuffer backing stores on a background thread, rather than
      > blocking the main thread after processing. Could potentially cause
      > contention with the array buffer allocator once JS execution resumes.
      > 
      > The new ArrayBufferCollector class tracks these dead allocations.
      > 
      > Later, the processing of array buffers can happen in parallel.
      > 
      > Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      > 
      > Bug: v8:6992
      > Change-Id: I49ae4db12ed62d8400ba2bbafeda05a11479d904
      > Reviewed-on: https://chromium-review.googlesource.com/739829
      > Commit-Queue: Peter Marshall <petermarshall@chromium.org>
      > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
      > Reviewed-by: Hannes Payer <hpayer@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#49485}
      
      TBR=hpayer@chromium.org,mlippautz@chromium.org,petermarshall@chromium.org
      
      Change-Id: If6743b83f871c0fd0d6e83a3083dce0eecd99021
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:6992
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Reviewed-on: https://chromium-review.googlesource.com/779159Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
      Commit-Queue: Peter Marshall <petermarshall@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#49488}
      3b31e5be
    • Peter Marshall's avatar
      [heap] Concurrently free ArrayBuffer allocations. · b6658ade
      Peter Marshall authored
      Free ArrayBuffer backing stores on a background thread, rather than
      blocking the main thread after processing. Could potentially cause
      contention with the array buffer allocator once JS execution resumes.
      
      The new ArrayBufferCollector class tracks these dead allocations.
      
      Later, the processing of array buffers can happen in parallel.
      
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      
      Bug: v8:6992
      Change-Id: I49ae4db12ed62d8400ba2bbafeda05a11479d904
      Reviewed-on: https://chromium-review.googlesource.com/739829
      Commit-Queue: Peter Marshall <petermarshall@chromium.org>
      Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#49485}
      b6658ade