1. 24 Jun, 2016 1 commit
    • bakkot's avatar
      add use counters for __defineGetter__ failing · b2ce1fa2
      bakkot authored
      We deviate from spec in that, in our implementation, __defineGetter__ on non-
      configurable properties returns false instead of throwing a TypeError. This commit
      adds a use counter to track how often we would be throwing an error we currently
      avoid, to determine if we can change to align with spec or if the spec is not
      implementable.
      
      BUG=v8:5070
      
      Review-Url: https://codereview.chromium.org/2089533002
      Cr-Commit-Position: refs/heads/master@{#37259}
      b2ce1fa2
  2. 22 Jun, 2016 2 commits
  3. 21 Jun, 2016 2 commits
  4. 20 Jun, 2016 1 commit
  5. 17 Jun, 2016 1 commit
  6. 15 Jun, 2016 1 commit
  7. 13 Jun, 2016 2 commits
  8. 10 Jun, 2016 1 commit
  9. 09 Jun, 2016 1 commit
  10. 08 Jun, 2016 6 commits
  11. 07 Jun, 2016 1 commit
    • mlippautz's avatar
      Track based on JSArrayBuffer addresses on pages instead of the attached · 839f3fd4
      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/2036643002
      Cr-Commit-Position: refs/heads/master@{#36798}
      839f3fd4
  12. 06 Jun, 2016 2 commits
    • hlopko's avatar
      Introduce api for incremental wrapper tracing · 0f934866
      hlopko authored
      This cl sketches an api for incremental wrapper tracing, but still uses the api
      in the stop-the-world fashion. Responsibility to maintain a marking deque is
      transfered to the embedder. V8 will still collect wrapper internal fields, but
      will send them to the embedder after each incremental gc task. Wrappers must be
      sent at latest by the time next oilpan gc runs - so blink can keep all
      discovered wrappables alive.
      
      The old api will be cleared after this cl and corresponding blink cl land.
      
      Comments are very welcomed :)
      
      LOG=no
      BUG=468240
      
      Review-Url: https://codereview.chromium.org/2032213003
      Cr-Commit-Position: refs/heads/master@{#36761}
      0f934866
    • jochen's avatar
      Add a convenience method to get the debugged context · 37394eb3
      jochen authored
      Since the generic GetCallingContext is deprecated, but there's still the
      use case for the debugger to get the currently debugged context while in
      the debug context, add a convenience API for it.
      
      Note that EventDetails already exposes this context, but the embedder
      might not necessarily have the EventDetails around.
      
      R=verwaest@chromium.org
      BUG=
      
      Review-Url: https://codereview.chromium.org/2040853003
      Cr-Commit-Position: refs/heads/master@{#36751}
      37394eb3
  13. 02 Jun, 2016 1 commit
  14. 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
  15. 31 May, 2016 2 commits
  16. 30 May, 2016 4 commits
  17. 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
  18. 25 May, 2016 8 commits
  19. 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