1. 18 Sep, 2016 4 commits
    • zhengxing.li's avatar
      X87: [turbofan] Collect invocation counts and compute relative call frequencies. · b6acda3a
      zhengxing.li authored
        port c7d7ca36(r39410)
      
        original commit message:
        Add a notion of "invocation count" to the baseline compilers, which
        increment a special slot in the TypeFeedbackVector for each invocation
        of a given function (the optimized code doesn't currently collect this
        information).
      
        Use this invocation count to relativize the call counts on the call
        sites within the function, so that the inlining heuristic has a view
        of relative importance of a call site rather than some absolute numbers
        with unclear meaning for the current function. Also apply the call site
        frequency as a factor to all frequencies in the inlinee by passing this
        to the graph builders so that the importance of a call site in an
        inlinee is relative to the topmost optimized function.
      
        Note that all functions that neither have literals nor need type
        feedback slots will share a single invocation count cell in the
        canonical empty type feedback vector, so their invocation count is
        meaningless, but that doesn't matter since we only use the invocation
        count to relativize call counts within the function, which we only have
        if we have at least one type feedback vector (the CallIC slot).
      
        See the design document for additional details on this change:
        https://docs.google.com/document/d/1VoYBhpDhJC4VlqMXCKvae-8IGuheBGxy32EOgC2LnT8
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2352493002
      Cr-Commit-Position: refs/heads/master@{#39490}
      b6acda3a
    • zhengxing.li's avatar
      X87: CallConstruct also gets call count information if megamorphic. · 3761a9e1
      zhengxing.li authored
        port 3ccedd5d(r39398)
      
        original commit message:
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2352483002
      Cr-Commit-Position: refs/heads/master@{#39489}
      3761a9e1
    • v8-autoroll's avatar
      Update V8 DEPS. · af0bae17
      v8-autoroll authored
      Rolling v8/build to cce8ee87cfdbbac3b05240132f74fe1f398e83d1
      
      TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org
      
      Review-Url: https://codereview.chromium.org/2346163002
      Cr-Commit-Position: refs/heads/master@{#39488}
      af0bae17
    • zhengxing.li's avatar
      X87: Record call counts also for megamorphic calls. · 7368ce0c
      zhengxing.li authored
        port 2ab3fcf4(r39377)
      
        original commit message:
        To make better inlining decisions, it's good to have call counts for poly/mega-morphic cases. This CL makes it work for calls, and another will follow to better unify the code between constructor
        calls and normal calls (and thence, to record megamorphic call counts there as well).
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2351523002
      Cr-Commit-Position: refs/heads/master@{#39487}
      7368ce0c
  2. 17 Sep, 2016 4 commits
  3. 16 Sep, 2016 25 commits
  4. 15 Sep, 2016 7 commits