1. 17 Aug, 2015 1 commit
  2. 13 Aug, 2015 2 commits
  3. 12 Aug, 2015 1 commit
    • mstarzinger's avatar
      Remove inline header includes from non-inline headers (1). · 00a07bc1
      mstarzinger authored
      This tries to remove includes of "-inl.h" headers from normal ".h"
      headers, thereby reducing the chance of any cyclic dependencies and
      decreasing the average size of our compilation units.
      
      Note that this change still leaves 7 violations of that rule in the
      code. However there now is the "tools/check-inline-includes.sh" tool
      detecting such violations.
      
      R=bmeurer@chromium.org
      
      Review URL: https://codereview.chromium.org/1283033003
      
      Cr-Commit-Position: refs/heads/master@{#30125}
      00a07bc1
  4. 11 Aug, 2015 1 commit
    • yangguo's avatar
      Rewrite Error.prototype.toString in C++. · 2e2765a6
      yangguo authored
      This avoids many back-and-forth calls to the runtime.
      
      This also slightly changes the way we avoid getters. Previously, we circumvent getting the name property of ReferenceError, SyntaxError and TypeError due to crbug/69187 (in order to avoid leaking information from those errors through a 'name' getter installed on their prototypes). Now we do that for all errors created by V8.
      
      R=jkummerow@chromium.org, rossberg@chromium.org
      BUG=crbug:513472, crbug:69187
      LOG=N
      
      Review URL: https://codereview.chromium.org/1281833002
      
      Cr-Commit-Position: refs/heads/master@{#30105}
      2e2765a6
  5. 10 Aug, 2015 1 commit
  6. 05 Aug, 2015 4 commits
  7. 04 Aug, 2015 3 commits
  8. 30 Jul, 2015 1 commit
  9. 23 Jul, 2015 1 commit
    • rmcilroy's avatar
      [interpreter] Add basic framework for bytecode handler code generation. · 7877c4e0
      rmcilroy authored
      Adds basic support for generation of interpreter bytecode handler code
      snippets. The InterpreterAssembler class exposes a set of low level,
      interpreter specific operations which can be used to build a Turbofan
      graph. The Interpreter class generates a bytecode handler snippet for
      each bytecode by assembling operations using an InterpreterAssembler.
      
      Currently only two simple bytecodes are supported: LoadLiteral0 and Return.
      
      BUG=v8:4280
      LOG=N
      
      Review URL: https://codereview.chromium.org/1239793002
      
      Cr-Commit-Position: refs/heads/master@{#29814}
      7877c4e0
  10. 20 Jul, 2015 1 commit
  11. 17 Jul, 2015 1 commit
  12. 24 Jun, 2015 2 commits
  13. 08 Jun, 2015 1 commit
  14. 02 Jun, 2015 1 commit
  15. 26 May, 2015 1 commit
    • erikcorry's avatar
      Move hash code from hidden string to a private symbol · eca5b5d7
      erikcorry authored
      * Hash code is now just done with a private own symbol instead of the hidden string, which predates symbols.
      * In the long run we should do all hidden properties this way and get rid of the
      hidden magic 0-length string with the zero hash code.  The advantages include
      less complexity and being able to do things from JS in a natural way.
      * Initially, the performance of weak set regressed, because it's a little harder
      to do the lookup in C++.  Instead of heroics in C++ to make things faster I
      moved some functionality into JS and got the performance back. JS is supposed to be good at looking up named properties on objects.
      * This also changes hash codes of Smis so that they are always Smis.
      
      Performance figures are in the comments to the code review.  Summary: Most of js-perf-test/Collections is neutral.  Set and Map with object keys are 40-50% better.  WeakMap is -5% and WeakSet is +9%.  After the measurements, I fixed global proxies, which cost 1% on most tests and 5% on the weak ones :-(.
      
      In the code review comments is a patch with an example of the heroics we could do in C++ to make lookup faster (I hope we don't have to do this.  Instead of checking for the property, then doing a new lookup to insert it, we could do one lookup and handle the addition immediately).  With the current benchmarks above this buys us nothing, but if we go back to doing more lookups in C++ instead of in stubs and JS then it's a win.
      
      In a similar vein we could give the magic zero hash code to the hash code
      symbol.  Then when we look up the hash code we would sometimes see the table
      with all the hidden properties.  This dual use of the field for either the hash
      code or the table with all hidden properties and the hash code is rather ugly,
      and this CL gets rid of it.  I'd be loath to bring it back.  On the benchmarks quoted above it's slightly slower than moving the hash code lookup to JS like in this CL.
      
      One worry is that the benchmark results above are more monomorphic than real
      world code, so may be overstating the performance benefits of moving to JS.  I
      think this is part of a general issue we have with handling polymorphic code in
      JS and any solutions there will benefit this solution, which boils down to
      regular property access. Any improvement there will lift all boats.
      
      R=adamk@chromium.org, verwaest@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/1149863005
      
      Cr-Commit-Position: refs/heads/master@{#28622}
      eca5b5d7
  16. 22 May, 2015 1 commit
  17. 19 May, 2015 1 commit
  18. 12 May, 2015 1 commit
  19. 04 May, 2015 1 commit
  20. 30 Apr, 2015 3 commits
  21. 29 Apr, 2015 1 commit
  22. 27 Apr, 2015 1 commit
  23. 23 Apr, 2015 1 commit
  24. 22 Apr, 2015 3 commits
  25. 21 Apr, 2015 1 commit
  26. 20 Apr, 2015 2 commits
  27. 15 Apr, 2015 1 commit
    • jochen's avatar
      Remove support for specifying the number of available threads · 47cca468
      jochen authored
      The embedder can control how many threads it wants to use via the
      v8::Platform implementation. V8 internally doesn't spin up threads
      anymore. If the embedder doesn't want to use any threads at all, it's
      v8::Platform implementation must either run the background jobs on
      the foreground thread, or the embedder should specify --predictable
      
      BUG=none
      R=yangguo@chromium.org
      LOG=y
      
      Review URL: https://codereview.chromium.org/1064723005
      
      Cr-Commit-Position: refs/heads/master@{#27833}
      47cca468
  28. 14 Apr, 2015 1 commit