1. 02 Jun, 2016 1 commit
  2. 01 Jun, 2016 1 commit
    • mlippautz's avatar
      Track based on JSArrayBuffer addresses on pages instead of the attached · 279e274e
      mlippautz authored
      backing store.
      
      Details of tracking:
      - Scavenge: New space pages are processes in bulk on the main thread
      - MC: Unswept pages are processed in bulk in parallel. All other pages
        are processed by the sweeper concurrently.
      
      BUG=chromium:611688
      LOG=N
      TEST=cctest/test-array-buffer-tracker/*
      CQ_EXTRA_TRYBOTS=tryserver.v8:v8_linux_arm64_gc_stress_dbg,v8_linux_gc_stress_dbg,v8_mac_gc_stress_dbg,v8_linux64_tsan_rel,v8_mac64_asan_rel
      
      Review-Url: https://codereview.chromium.org/2026633003
      Cr-Commit-Position: refs/heads/master@{#36653}
      279e274e
  3. 31 May, 2016 2 commits
  4. 30 May, 2016 4 commits
  5. 26 May, 2016 2 commits
    • mythria's avatar
      Adds support for collecting statistics about code and its metadata. · c1af2821
      mythria authored
      Adds an API to request the total size of code/bytecode and their associated
      metadata in the heap. When requested, the code_space, old_space and
      large_object_space  is scanned to find any code/bytecode array objects.
      This could be slow and hence it should be used with caution.
      
      BUG=v8:5019
      LOG=N
      
      Review-Url: https://codereview.chromium.org/1997363002
      Cr-Commit-Position: refs/heads/master@{#36534}
      c1af2821
    • lpy's avatar
      Reland: Create libsampler as V8 sampler library. · a0198c0f
      lpy authored
      This patch does five things:
      
      1. Extracts sampler as libsampler to provide sampling functionality support.
      2. Makes SampleStack virtual so embedders can override the behaviour of sample collecting.
      3. Removes sampler.[h|cc].
      4. Moves sampling thread into log.cc as workaround to keep the --prof functionality.
      5. Creates SamplerManager to manage the relationship between samplers and threads.
      
      The reason we port hashmap.h is that in debug mode, STL containers are using
      mutexes from a mutex pool, which may lead to deadlock when using asynchronously
      signal handler.
      
      Currently libsampler is used in V8 temporarily.
      
      BUG=v8:4789
      LOG=n
      
      Committed: https://crrev.com/06cc9b7c176a6223971deaa9fbcafe1a05058c7b
      Cr-Commit-Position: refs/heads/master@{#36527}
      
      Review-Url: https://codereview.chromium.org/1922303002
      Cr-Commit-Position: refs/heads/master@{#36532}
      a0198c0f
  6. 25 May, 2016 8 commits
  7. 24 May, 2016 1 commit
    • mlippautz's avatar
      Revert of [heap] Fine-grained JSArrayBuffer tracking (patchset #19 id:770001... · d2dff032
      mlippautz authored
      Revert of [heap] Fine-grained JSArrayBuffer tracking (patchset #19 id:770001 of https://codereview.chromium.org/1964023002/ )
      
      Reason for revert:
      Revert it.
      
      Original issue's description:
      > [heap] Fine-grained JSArrayBuffer tracking
      >
      > Track based on JSArrayBuffer addresses instead of the attached backing store.
      > This way we can later on iterate buffers on a single page. The reland also
      > switches to a page-based implementation where a page contains the set of its
      > contained (live and dead) buffers.
      >
      > Details of tracking:
      > - Scavenge: New space pages are processes in bulk on the main thread
      > - MC: Unswept pages are processed in bulk in parallel. All other pages
      >   are processed by the sweeper concurrently.
      >
      > BUG=chromium:611688
      > LOG=N
      > CQ_EXTRA_TRYBOTS=tryserver.v8:v8_linux_arm64_gc_stress_dbg,v8_linux_gc_stress_dbg,v8_mac_gc_stress_dbg,v8_linux64_tsan_rel,v8_mac64_asan_rel
      >
      > Committed: https://crrev.com/b2d8bfc7931eef49d527605ba485950dea41cde3
      > Cr-Commit-Position: refs/heads/master@{#36437}
      
      TBR=hpayer@chromium.org
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=chromium:611688
      
      Review-Url: https://codereview.chromium.org/2006183003
      Cr-Commit-Position: refs/heads/master@{#36461}
      d2dff032
  8. 23 May, 2016 1 commit
    • mlippautz's avatar
      [heap] Fine-grained JSArrayBuffer tracking · b2d8bfc7
      mlippautz authored
      Track based on JSArrayBuffer addresses instead of the attached backing store.
      This way we can later on iterate buffers on a single page. The reland also
      switches to a page-based implementation where a page contains the set of its
      contained (live and dead) buffers.
      
      Details of tracking:
      - Scavenge: New space pages are processes in bulk on the main thread
      - MC: Unswept pages are processed in bulk in parallel. All other pages
        are processed by the sweeper concurrently.
      
      BUG=chromium:611688
      LOG=N
      CQ_EXTRA_TRYBOTS=tryserver.v8:v8_linux_arm64_gc_stress_dbg,v8_linux_gc_stress_dbg,v8_mac_gc_stress_dbg,v8_linux64_tsan_rel,v8_mac64_asan_rel
      
      Review-Url: https://codereview.chromium.org/1964023002
      Cr-Commit-Position: refs/heads/master@{#36437}
      b2d8bfc7
  9. 20 May, 2016 2 commits
  10. 19 May, 2016 1 commit
  11. 16 May, 2016 1 commit
  12. 13 May, 2016 2 commits
  13. 12 May, 2016 1 commit
  14. 10 May, 2016 1 commit
  15. 09 May, 2016 3 commits
    • kozyatinskiy's avatar
      [V8] Add v8::Value::TypeOf to API · 6f419dfe
      kozyatinskiy authored
      There is TypeOf static method on object inside V8. In this CL I've extracted it via API.
      
      LOG=Y
      R=yangguo@chromium.org
      BUG=chromium:595206
      
      Review-Url: https://codereview.chromium.org/1829833002
      Cr-Commit-Position: refs/heads/master@{#36113}
      6f419dfe
    • jochen's avatar
      Expose IsConstructor to the C++ API · acbbd59f
      jochen authored
      BUG=v8:4993
      R=verwaest@chromium.org
      LOG=y
      
      Review-Url: https://codereview.chromium.org/1964433002
      Cr-Commit-Position: refs/heads/master@{#36107}
      acbbd59f
    • ulan's avatar
      Introduce a new phantom weakness type without finalization callback. · a6da98d8
      ulan authored
      Handles of this type are automatically reset by the garbage collector
      when their objects are not longer reachable.
      
      The motivation is to reduce pause time of external.weak_global_handles
      phase of the garbage collector by not maintaing the list of pending
      callbacks and not calling the callbacks.
      
      Local testing on discourse page of the v8.inifinite_scroll benchmark
      shows 7x improvement for this GC phase.
      
      Before:
      external.weak_global_handles
       len: 21
       min: 0.0
       max: 4.5
       avg: 0.757142857143
      
      After:
      external.weak_global_handles
       len: 21
       min: 0.0
       max: 0.5
       avg: 0.109523809524
      
      A follow-up patch will enable the new phantom handles in Chromium.
      
      BUG=chromium:608333
      LOG=NO
      
      Review-Url: https://codereview.chromium.org/1950963002
      Cr-Commit-Position: refs/heads/master@{#36095}
      a6da98d8
  16. 06 May, 2016 1 commit
    • ulan's avatar
      [API] Remove deprecated WeakCallbackData and related functions. · 82dcb2be
      ulan authored
      This removes:
      - PersistentBase::SetWeak that takes WeakCallbackData.
        The embedders should use the version that takes WeakCallbackInfo.
      - PersistentBase::SetPhantom.
        The embedders should SetWeak that takes WeakCallbackInfo.
      
      Functions in DefaultPersistentValueMapTraits are changed to accept
      WeakCallbackInfo instead of WeakCallbackData.
      
      BUG=chromium:609808
      LOG=NO
      
      Review-Url: https://codereview.chromium.org/1953263002
      Cr-Commit-Position: refs/heads/master@{#36079}
      82dcb2be
  17. 04 May, 2016 3 commits
  18. 03 May, 2016 1 commit
  19. 27 Apr, 2016 1 commit
  20. 25 Apr, 2016 2 commits
  21. 19 Apr, 2016 1 commit