1. 05 Apr, 2016 1 commit
    • mlippautz's avatar
      [heap] Non-contiguous young generation · 3f921372
      mlippautz authored
      This change removes the large contiguous backing store from the young generation
      and replaces it regular pages.
      
      We keep a pool of pages that are committed/uncommitted to avoid creating virtual
      memory maps during growing and shrinking.
      
      BUG=chromium:581412
      LOG=N
      
      Review URL: https://codereview.chromium.org/1853783002
      
      Cr-Commit-Position: refs/heads/master@{#35261}
      3f921372
  2. 01 Apr, 2016 2 commits
  3. 31 Mar, 2016 1 commit
  4. 29 Mar, 2016 2 commits
    • jacob.bramley's avatar
      [arm] Correctly detect ARMv8 platforms with old kernels. · 4ee76daf
      jacob.bramley authored
      AArch64 kernels older than 3.18 presented a different cpuinfo format
      than what V8 expects. Most of V8's logic still works, but it misreads
      the "CPU architecture" field.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1841733002
      
      Cr-Commit-Position: refs/heads/master@{#35114}
      4ee76daf
    • jarin's avatar
      Linux perf integration with the new support for JIT. · 82e95f59
      jarin authored
      Difference from --perf-basic-prof:
      - correctly attributes samples when code space gets reused (when unused code object dies and a new code objects is allocated at the same place).
      - outputs compiled machine code for instruction-level profile.
      
      Just like --perf-basic-prof, the file writer is not synchronized (even worse, there is a per-isolate file handle), so we will run into trouble with multiple isolates. However, this patch is still an improvement on --perf-basic-prof, and it should be fine to replace ll-prof.
      
      The patch also introduces experimental support for debug info, but it does not seem to be picked by the perf tool.
      
      Usage:
      
      You need the perf tool from Linux kernel >4.5. Then run:
      
      $ perf record -k mono d8 --perf-prof <your JS file>
      $ perf inject -j -i perf.data -o perf.data.jitted
      $ perf report -i perf.data.jitted
      
      Some explanations:
      The "-k mono" switch from "perf record" tells the perf tool to use the monotonic clock for perf sample timestamping. The "perf inject -j" command injects the collected code events into the perf data file, writing the output into perf.data.jitted. The perf report command then creates the report.
      
      Review URL: https://codereview.chromium.org/1809203007
      
      Cr-Commit-Position: refs/heads/master@{#35091}
      82e95f59
  5. 21 Mar, 2016 1 commit
    • jfb's avatar
      wasm: add flag to dump modules · ed76b66a
      jfb authored
      Flags --dump_wasm_module and --dump_wasm_module_path=/path/to/folder allow us to run a bunch of tests and capture all of the wasm module files including the ones that come from the .js and .cc tests which are built on the fly, as well as the asm2wasm tests.
      
      The files are all uniquely named `HASH.{ok,failed}.wasm`.
      
      This will be especilly useful for fuzz testing, but could also be used for other tests including non-V8 tests.
      
      For now I manually hacked tools/testrunner/local/execution.py so that tools/run-tests.py can output the modules. We may want to ad a flag to run-tests.py proper if this turns out to be useful.
      
      R=bradnelson@chromium.org, titzer@chromium.org, kcc@chromium.org
      
      Review URL: https://codereview.chromium.org/1816583003
      
      Cr-Commit-Position: refs/heads/master@{#34968}
      ed76b66a
  6. 16 Mar, 2016 3 commits
  7. 15 Mar, 2016 1 commit
  8. 11 Mar, 2016 2 commits
  9. 10 Mar, 2016 1 commit
    • joransiu's avatar
      S390: Platform specific includes in common files · daea0e75
      joransiu authored
      Add S390 platform specific \#includes across various common files.
      Add S390 CPU features to enum.
      Add S390 implementation to extract sp/fp/pc from signal context.
      
      R=danno@chromium.org,jkummerow@chromium.org,jochen@chromium.org,jyan@ca.ibm.com,michael_dawson@ca.ibm.com,mbrandy@us.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1777593003
      
      Cr-Commit-Position: refs/heads/master@{#34674}
      daea0e75
  10. 01 Mar, 2016 1 commit
    • littledan's avatar
      Make RUNTIME_ASSERT have more useful output in debug mode · 78d84530
      littledan authored
      Runtime asserts are were previously a bit annoying to debug, due to
      the lack of a useful error message, even in debug mode. This patch
      prints out some more information in debug mode for runtime assert
      failures while preserving their exception-throwing semantics. While
      we're at it, it requires a semicolon after RUNTIME_ASSERT macro
      invocations.
      
      ```
      $ rlwrap out/Debug/d8 --allow-natives-syntax
      V8 version 5.1.0 (candidate)
      d8> %ArrayBufferNeuter(1)
      
      #
      # Runtime error in ../../src/runtime/runtime-typedarray.cc, line 52
      #
      # args[0]->IsJSArrayBuffer()
      
      ==== C stack trace ===============================
      
       1: 0xf70ab5
       2: 0xadeebf
       3: 0xadedd4
       4: 0x2ef17630693b
      (d8):1: illegal access
      %ArrayBufferNeuter(1)
      ^
      
      d8>
      ```
      
      Also give the other 'illegal access' case (a special SyntaxError type) a more
      descriptive error message for its sole usage.
      
      R=adamk
      
      Review URL: https://codereview.chromium.org/1748183002
      
      Cr-Commit-Position: refs/heads/master@{#34401}
      78d84530
  11. 29 Feb, 2016 1 commit
  12. 26 Feb, 2016 1 commit
    • joransiu's avatar
      S390: Initial impl of S390 asm, masm, code-stubs,... · 23cf6592
      joransiu authored
      Initial commit with the bulk of the src/s390/* changes
      along with associated changes to the build toolchain for
      the new files.
      
      A minor update to V8PRIuPTR definition for Mac OS X
      affecting 32-bit S390 sim compilations.
      
      R=danno@chromium.org,jkummerow@chromium.org,jochen@chromium.org,jyan@ca.ibm.com,michael_dawson@ca.ibm.com,mbrandy@us.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1725243004
      
      Cr-Commit-Position: refs/heads/master@{#34331}
      23cf6592
  13. 16 Feb, 2016 1 commit
  14. 01 Feb, 2016 1 commit
    • mbrandy's avatar
      Detect cache line size on Linux for PPC hosts. · c3ff68b6
      mbrandy authored
      In the interest of generalization, this change:
      - Consolidates cache line size detection for all interested
        architectures under base::CPU (currently leveraged by only
        PPC and ARM64).
      - Differentiates between instruction vs data cache line sizes.
      
      R=rmcilroy@chromium.org, jochen@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1643363002
      
      Cr-Commit-Position: refs/heads/master@{#33642}
      c3ff68b6
  15. 26 Jan, 2016 1 commit
  16. 14 Jan, 2016 1 commit
    • joransiu's avatar
      S390: Makefile + Build Toolchain Updates · 1091c2f0
      joransiu authored
      This is the first of several commits to contribute Linux on z Systems
      (s390/s390x) port of V8.  We will be breaking up the changes into several
      (hopefully) logical commits.
      
      This commit contains the changes to V8 Makefile and build toolchains to
      introduce S390 macros and compiler options.  Just for awareness for reviewers
      is that s390 is 31-bit (not 32!) big-endian platform on Linux on z.  (MSB of address
      is used to distinguish between 24-bit vs 31-bit addressing!)  s390x is
      64-bit Linux on z.  Names follow the general linux convention on the platform.
      
      A quick roadmap on upcoming commits:
      - Add \#include of S390 header files in common files
      - S390 related tests + tooling changes
      - printf macro for printing size_t values.
      - S390 platform-specific code generation code (bulk of changes!)
      
      R=danno@chromium.org,svenpanne@chromium.org,michael_dawson@ca.ibm.com,jyan@ca.ibm.com,mtbrandyberry@ca.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1585813002
      
      Cr-Commit-Position: refs/heads/master@{#33304}
      1091c2f0
  17. 13 Jan, 2016 1 commit
  18. 24 Dec, 2015 1 commit
  19. 22 Dec, 2015 1 commit
  20. 03 Dec, 2015 1 commit
  21. 30 Nov, 2015 1 commit
  22. 25 Nov, 2015 2 commits
  23. 24 Nov, 2015 3 commits
  24. 09 Nov, 2015 1 commit
  25. 30 Oct, 2015 2 commits
  26. 20 Oct, 2015 1 commit
  27. 13 Oct, 2015 1 commit
  28. 09 Oct, 2015 1 commit
  29. 08 Oct, 2015 2 commits
  30. 07 Oct, 2015 1 commit