1. 09 May, 2017 32 commits
  2. 08 May, 2017 8 commits
    • Ross McIlroy's avatar
      Revert "Reland: [TypeFeedbackVector] Store optimized code in the vector" · fd749344
      Ross McIlroy authored
      This reverts commit 662aa425.
      
      Reason for revert: Crashing on Canary
      BUG=chromium:718891
      
      Original change's description:
      > Reland: [TypeFeedbackVector] Store optimized code in the vector
      > 
      > Since the feedback vector is itself a native context structure, why
      > not store optimized code for a function in there rather than in
      > a map from native context to code? This allows us to get rid of
      > the optimized code map in the SharedFunctionInfo, saving a pointer,
      > and making lookup of any optimized code quicker.
      > 
      > Original patch by Michael Stanton <mvstanton@chromium.org>
      > 
      > BUG=v8:6246
      > TBR=yangguo@chromium.org,ulan@chromium.org
      > 
      > Change-Id: Ic83e4011148164ef080c63215a0c77f1dfb7f327
      > Reviewed-on: https://chromium-review.googlesource.com/494487
      > Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
      > Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#45084}
      
      TBR=ulan@chromium.org,rmcilroy@chromium.org,yangguo@chromium.org,jarin@chromium.org
      # Not skipping CQ checks because original CL landed > 1 day ago.
      BUG=v8:6246
      
      Change-Id: Idab648d6fe260862c2a0e35366df19dcecf13a82
      Reviewed-on: https://chromium-review.googlesource.com/498633Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#45174}
      fd749344
    • hpayer's avatar
      Rename idle garbage collection callback flag. · 4f82f1d9
      hpayer authored
      TBR=mlippautz@chromium.org
      
      Review-Url: https://codereview.chromium.org/2867863002
      Cr-Commit-Position: refs/heads/master@{#45173}
      4f82f1d9
    • Mircea Trofin's avatar
      Revert "Revert "Introducing an event loop mechanism for d8."" · 7dcc8eff
      Mircea Trofin authored
      This reverts commit f7c25da6.
      
      Reason for revert: Fixed
      
      Original change's description:
      > Revert "Introducing an event loop mechanism for d8."
      > 
      > This reverts commit de964dbe.
      > 
      > Reason for revert:
      > https://build.chromium.org/p/client.v8/builders/V8%20Linux/builds/17958
      > 
      > Original change's description:
      > > Introducing an event loop mechanism for d8.
      > > 
      > > This mechanism ensures APIs like wasm async complete their work, 
      > > without requiring use of natives (%APIs).
      > > 
      > > The mechanism is similar to the one used in content_shell,
      > > which should allow us to easily port tests in that environment.
      > > 
      > > Review-Url: https://codereview.chromium.org/2842843005
      > > Cr-Original-Commit-Position: refs/heads/master@{#44908}
      > > Bug: 
      > > Change-Id: I9deee0d256a600c60b42902fc8ef8478e5546344
      > > Reviewed-on: https://chromium-review.googlesource.com/494968
      > > Commit-Queue: Mircea Trofin <mtrofin@google.com>
      > > Reviewed-by: Jochen Eisinger <jochen@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#45165}
      > 
      > TBR=bradnelson@chromium.org,mtrofin@chromium.org,mtrofin@google.com,jochen@chromium.org
      > NOPRESUBMIT=true
      > NOTREECHECKS=true
      > NOTRY=true
      > 
      > Change-Id: Iafec2615d705d1990c57229cab3a988c00b5e12f
      > Reviewed-on: https://chromium-review.googlesource.com/498630
      > Reviewed-by: Michael Achenbach <machenbach@chromium.org>
      > Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#45166}
      
      TBR=bradnelson@chromium.org,machenbach@chromium.org,mtrofin@chromium.org,mtrofin@google.com,jochen@chromium.org,v8-reviews@googlegroups.com
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      
      Change-Id: Ic3c782e918326e291a6cb9bb349c609e9a340b09
      Reviewed-on: https://chromium-review.googlesource.com/498430Reviewed-by: 's avatarMircea Trofin <mtrofin@chromium.org>
      Commit-Queue: Mircea Trofin <mtrofin@google.com>
      Cr-Commit-Position: refs/heads/master@{#45172}
      7dcc8eff
    • mvstanton's avatar
      [turbofan] Optimized support for CreateGeneratorObject. · 71ee0aa5
      mvstanton authored
      Intrinsic and generic lowering for generator object creation. In a follow-on, create lowering will be addressed.
      
      BUG=v8:6352
      
      Review-Url: https://codereview.chromium.org/2862213002
      Cr-Commit-Position: refs/heads/master@{#45171}
      71ee0aa5
    • Adam Klein's avatar
      Skip hole initialization of lexical variables when possible · ededfcd2
      Adam Klein authored
      This patch expands scope analysis to skip hole initialization
      when it can be determined statically that no hole checks will
      be generated at runtime.
      
      Two conditions must be met to safely eliminate hole initialization:
        - There must not exist a VariableProxy referencing this Variable
          whose HoleCheckMode is kRequired
        - The Variable must be stack allocated; any other allocation implies
          that it may be accessed from not-yet-analyzed scopes (other modules,
          inner functions, or eval code) and that code may require
          hole checks.
      
      The new logic required removing debug code in full-codegen which is
      now incorrect in some cases.
      
      Also fixed Variable's bitfield helpers to take no more space than needed.
      
      Bug: chromium:651637
      Change-Id: Ie5ac326af4e05b7a5c3c37cd4d0afba6a51a504d
      Reviewed-on: https://chromium-review.googlesource.com/494006
      Commit-Queue: Adam Klein <adamk@chromium.org>
      Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#45170}
      ededfcd2
    • Ross McIlroy's avatar
      Revert "[Interpreter] Transition JSFunctions to call optimized code when possible." · ce899dfd
      Ross McIlroy authored
      This reverts commit ec619cbd.
      
      Reason for revert: Crashing on Canary
      BUG=chromium:718891
      
      Original change's description:
      > [Interpreter] Transition JSFunctions to call optimized code when possible.
      > 
      > Now that the optimized code hangs off the feedback vector, it is possible
      > to check whether a function has optimized code available every time it's
      > called in the interpreter entry trampoline. If optimized code exists, the
      > interpreter entry trampoline 'self-heals' the closure to point to the
      > optimized code and links the closure into the optimized code list.
      > 
      > BUG=v8:6246
      > 
      > Change-Id: If1bd7c555bb0551bfe04b36baa6bcf949604717e
      > Reviewed-on: https://chromium-review.googlesource.com/488026
      > Reviewed-by: Michael Stanton <mvstanton@chromium.org>
      > Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#45103}
      
      TBR=rmcilroy@chromium.org,mvstanton@chromium.org
      # Not skipping CQ checks because original CL landed > 1 day ago.
      BUG=v8:6246
      
      Change-Id: Ibda719be90fddf1d116c03a2a0c3018bcbe76018
      Reviewed-on: https://chromium-review.googlesource.com/498632Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#45169}
      ce899dfd
    • kschimpf's avatar
      Only turn on UMA WASM metric when synchronous. · aad342d5
      kschimpf authored
      The code for UMA stats (in counters.h) is not thread safe, and can
      lead to using pointers with uninitialized values.
      
      Therefore, this CL turns them off when compiling asynchronously.
      
      It also turns back on several UMA stats that were previously turned
      off, but no longer need to because the code now knows if it is
      running synchronously.
      
      BUG=v8:6361
      
      Review-Url: https://codereview.chromium.org/2864583004
      Cr-Commit-Position: refs/heads/master@{#45168}
      aad342d5
    • hpayer's avatar
      [Api] Add an idle time garbage collection callback flag to GCCallbackFlags. · 448501f6
      hpayer authored
      BUG=chromium:718484
      
      Review-Url: https://codereview.chromium.org/2867073002
      Cr-Commit-Position: refs/heads/master@{#45167}
      448501f6