1. 05 Sep, 2016 1 commit
    • fmeawad's avatar
      [RuntimeCallStats] Move tracing runtime instrumentation closer to the original version. · e5ba156d
      fmeawad authored
      After we landed the tracing runtime call stats, which gave
      us a lot of V8 insight in tracing, we noticed that there is
      some arising issues and discrepancies.
      
      Issues include:
      Missing trace events, that happened due to
      transforming those trace events into runtime calls
      
      Discrepancies include:
      Missing categories in Runtime call stats like GC,
      because we are not handling the Scoped runtime calls
      properly in the tracing version.
      
      To reduce/eliminate those issue, we are taking a small
      step back. We are unifying the RuntimeStats code and
      using the original one. That would allow us to use all
      the original probes but emit trace events from them.
      We are also putting back the trace-events in their place.
      
      The output from both system should be intact (Except of
      the addition of the missing trace-events).
      
      Also as a byproduct, we are reducing the number of context
      scopes by half since we are using the same scope as
      runtime call stats.
      
      As a follow up to this CL, we will address the non-scoped
      Runtime Call Stats (mainly in GC).
      BUG=642373
      
      Review-Url: https://codereview.chromium.org/2296243002
      Cr-Commit-Position: refs/heads/master@{#39180}
      e5ba156d
  2. 01 Sep, 2016 1 commit
  3. 26 Aug, 2016 1 commit
  4. 25 Aug, 2016 2 commits
  5. 23 Aug, 2016 1 commit
  6. 12 Aug, 2016 1 commit
  7. 10 Aug, 2016 1 commit
  8. 08 Aug, 2016 1 commit
  9. 05 Aug, 2016 1 commit
  10. 03 Aug, 2016 4 commits
  11. 27 Jul, 2016 1 commit
  12. 25 Jul, 2016 1 commit
  13. 19 Jul, 2016 1 commit
    • mstarzinger's avatar
      [turbofan] Allow deopt reasons without source positions. · ca727047
      mstarzinger authored
      This allows to pass deoptimization reasons to the profiler without the
      requirement of always providing a source position. The absence of deopt
      reasons is now communicated via a sentinel as the deopt id value. The
      deoptimization reasons recently added to TurboFan are now passed to the
      profiler.
      
      R=bmeurer@chromium.org
      TEST=cctest/test-cpu-profiler
      
      Review-Url: https://codereview.chromium.org/2159793002
      Cr-Commit-Position: refs/heads/master@{#37852}
      ca727047
  14. 18 Jul, 2016 1 commit
    • bmeurer's avatar
      [turbofan] Add support for eager/soft deoptimization reasons. · db635d5b
      bmeurer authored
      So far TurboFan wasn't adding the deoptimization reasons for eager/soft
      deoptimization exits that can be used by either the DevTools profiler or
      the --trace-deopt flag. This adds basic support for deopt reasons on
      Deoptimize, DeoptimizeIf and DeoptimizeUnless nodes and threads through
      the reasons to the code generation.
      
      Also moves the DeoptReason to it's own file (to resolve include cycles)
      and drops unused reasons.
      
      R=jarin@chromium.org
      
      Review-Url: https://codereview.chromium.org/2161543002
      Cr-Commit-Position: refs/heads/master@{#37823}
      db635d5b
  15. 29 Jun, 2016 3 commits
  16. 27 Jun, 2016 1 commit
  17. 23 Jun, 2016 1 commit
  18. 15 Jun, 2016 1 commit
  19. 14 Jun, 2016 1 commit
  20. 06 Jun, 2016 1 commit
  21. 03 Jun, 2016 1 commit
  22. 27 May, 2016 1 commit
    • mstarzinger's avatar
      [runtime] Allow generic allocation of sloppy arguments. · addfd00a
      mstarzinger authored
      This allows sloppy arguments objects to be allocated by the generic
      Heap::AllocateJSObjectFromMap allocation function. An empty elements
      backing store for such objects is provided. This is needed in order to
      materialize such objects without access to a specific native context.
      
      R=bmeurer@chromium.org
      TEST=mjsunit/regress/regress-crbug-613919
      BUG=chromium:613919
      
      Review-Url: https://codereview.chromium.org/2014343004
      Cr-Commit-Position: refs/heads/master@{#36547}
      addfd00a
  23. 23 May, 2016 1 commit
    • mstarzinger's avatar
      [deoptimizer] Fix materialization of sloppy arguments. · 3cc2adb3
      mstarzinger authored
      This makes sure the deoptimizer can materialize sloppy arguments objects
      with the FAST_SLOPPY_ARGUMENTS_ELEMENTS elements kind. TurboFan's escape
      analysis treates those as normal JSObject types and hence materializes
      them differently than Crankshaft does.
      
      R=verwaest@chromium.org
      TEST=mjsunit/regress/regress-crbug-613919
      BUG=chromium:613919
      
      Review-Url: https://codereview.chromium.org/2001133002
      Cr-Commit-Position: refs/heads/master@{#36440}
      3cc2adb3
  24. 20 May, 2016 1 commit
  25. 18 May, 2016 1 commit
  26. 17 May, 2016 2 commits
  27. 13 May, 2016 2 commits
    • cbruni's avatar
      [counters] Annotate v8 with more runtime call counters. · 407d9fce
      cbruni authored
      By fully annotating the API with runtime counters we can properly measure
      how much time we spend in total in v8. When --runtime-call-stats is specified
      we now disable the fast-paths for callbacks to properly measure them.
      As a drive-by-fix this CL unifies the LOG messages in api.cc.
      Additionally we added missing timers to gain better resolution in the parser
      and callbacks.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/1923893002
      Cr-Commit-Position: refs/heads/master@{#36248}
      407d9fce
    • mstarzinger's avatar
      [compiler] Profiler reconstructs inlined frames for deopts. · 29001f44
      mstarzinger authored
      This makes the profiler reconstruct inlined function frames at eager
      deopt points from the deoptimization data. The main goal of this is to
      remove the last side-channel where Crankshaft communicates directly to
      the profiler. This is the last preparatory step towards deprecating the
      side-channel in question.
      
      R=yangguo@chromium.org
      
      Review-Url: https://codereview.chromium.org/1973993002
      Cr-Commit-Position: refs/heads/master@{#36229}
      29001f44
  28. 12 May, 2016 1 commit
  29. 11 May, 2016 1 commit
    • mstarzinger's avatar
      [compiler] Pass inlining_id via relocation info. · 32049620
      mstarzinger authored
      This passes the inlining_id of deoptimization points via the relocation
      info instead of via a side-channel to the CPU profiler. This is one step
      towards deprecating the side-channel in question and avoid the need for
      performing a lookup of the return address of the deopt point.
      
      R=jarin@chromium.org
      
      Review-Url: https://codereview.chromium.org/1956693002
      Cr-Commit-Position: refs/heads/master@{#36177}
      32049620
  30. 06 May, 2016 2 commits
  31. 29 Apr, 2016 1 commit