1. 19 Aug, 2016 1 commit
    • krasin's avatar
      Disable CFI on a few methods. · e3ad26fe
      krasin authored
      While they have not been observed to slow down real-world use cases,
      some blink_layout microbenchmarks feel better with these methods
      disabled. In order to be concervative at the launch time, lift
      the CFI defense for these methods.
      
      8/10 of these methods will become much faster when an optimization
      proposed in https://crbug.com/638056 -- we only need to load vptr
      once (before the loop) and have a single CFI check instead of
      a check per iteration.
      
      BUG=638056,634139
      
      Review-Url: https://codereview.chromium.org/2258003002
      Cr-Commit-Position: refs/heads/master@{#38759}
      e3ad26fe
  2. 18 Aug, 2016 2 commits
    • rmcilroy's avatar
      Fix gcc error for ignoring return value on stack_trace_posix.cc · 978347e0
      rmcilroy authored
      NOTRY=true
      
      Review-Url: https://codereview.chromium.org/2260543002
      Cr-Commit-Position: refs/heads/master@{#38722}
      978347e0
    • rmcilroy's avatar
      Replace DumpBacktrace with Chromium's StackTrace implementation. · 49c14f63
      rmcilroy authored
      Adds support for dumping the stack on Windows. Also enables in-process
      stack dumping in d8 to dump the stack on exceptions and signals.
      
      This CL changes the format of stack dumps from:
       1: V8_Fatal
       2: 0x1ac6ba5
       3: v8::internal::interpreter::BytecodeGenerator::Visit(v8::internal::AstNode*)
       4: v8::internal::interpreter::BytecodeGenerator::VisitForAccumulatorValue(v8::internal::Expression*)
       ...
      
      To:
        ./out/x64.debug/d8(v8::base::debug::StackTrace::StackTrace()+0x1e) [0x1c6ee5e]
        ./out/x64.debug/d8() [0x1c6ede5]
        /lib/x86_64-linux-gnu/libpthread.so.0(+0x10330) [0x7fa01193e330]
        ./out/x64.debug/d8(v8::base::OS::Abort()+0x12) [0x1c6cea2]
        ./out/x64.debug/d8() [0x1c67538]
        ./out/x64.debug/d8() [0x1ac80b5]
        ./out/x64.debug/d8(v8::internal::interpreter::BytecodeGenerator
      ::Visit(v8::internal::AstNode*)+0x3cb) [0x1ac323b]
        ./out/x64.debug/d8(v8::internal::interpreter::BytecodeGenerator
      ::VisitForAccumulatorValue(v8::internal::Expression*)+0x40) [0x1ac2570]
      
      Review-Url: https://codereview.chromium.org/2248393002
      Cr-Commit-Position: refs/heads/master@{#38717}
      49c14f63
  3. 16 Aug, 2016 1 commit
  4. 12 Aug, 2016 2 commits
  5. 10 Aug, 2016 2 commits
    • mlippautz's avatar
      Revert of [heap] Switch to 500k pages (patchset #24 id:780001 of... · 555c9619
      mlippautz authored
      Revert of [heap] Switch to 500k pages (patchset #24 id:780001 of https://codereview.chromium.org/2013713003/ )
      
      Reason for revert:
      Failures on waterfall:
      
      e.g. http://build.chromium.org/p/client.v8/builders/V8%20Linux64%20TSAN/builds/11134
      
      Original issue's description:
      > [heap] Switch to 500k pages
      >
      > - Decrease regular heap object size to 300k, keeping the same ration (60%)
      >   between this limit and page size.
      >
      > In a follow up, we can now get rid of the new space border page while
      > keeping the 1M minimum new space size.
      >
      > Some results (v8.infinite_scroll; 3 runs):
      > - evacuate.avg: +15.3% (1.4->1.2)
      > - evacuate.max: +24.4% (2.4->1.8)
      >
      > BUG=chromium:581412
      > LOG=N
      > R=hpayer@chromium.org, ulan@chromium.org, yangguo@chromium.org
      >
      > Committed: https://crrev.com/ffe5c670e1559d11e7b252e15fec38765e7dbe4f
      > Cr-Commit-Position: refs/heads/master@{#38533}
      
      TBR=hpayer@chromium.org,ulan@chromium.org,yangguo@chromium.org
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=chromium:581412
      
      Review-Url: https://codereview.chromium.org/2229403003
      Cr-Commit-Position: refs/heads/master@{#38537}
      555c9619
    • mlippautz's avatar
      [heap] Switch to 500k pages · ffe5c670
      mlippautz authored
      - Decrease regular heap object size to 300k, keeping the same ration (60%)
        between this limit and page size.
      
      In a follow up, we can now get rid of the new space border page while
      keeping the 1M minimum new space size.
      
      Some results (v8.infinite_scroll; 3 runs):
      - evacuate.avg: +15.3% (1.4->1.2)
      - evacuate.max: +24.4% (2.4->1.8)
      
      BUG=chromium:581412
      LOG=N
      R=hpayer@chromium.org, ulan@chromium.org, yangguo@chromium.org
      
      Review-Url: https://codereview.chromium.org/2013713003
      Cr-Commit-Position: refs/heads/master@{#38533}
      ffe5c670
  6. 07 Aug, 2016 1 commit
  7. 29 Jul, 2016 2 commits
  8. 27 Jul, 2016 1 commit
  9. 26 Jul, 2016 1 commit
  10. 25 Jul, 2016 3 commits
  11. 18 Jul, 2016 1 commit
  12. 14 Jul, 2016 1 commit
  13. 13 Jul, 2016 1 commit
    • mstarzinger's avatar
      [runtime] Fully remove RUNTIME_ASSERT for good. · 04062e92
      mstarzinger authored
      This fully deprecates all uses of the RUNTIME_ASSERT macro and removes
      the macro and underlying logging function in question. All uses have
      been replaces with CHECK macros which crash safely even in production.
      
      It makes sure we discover abuse of runtime functions in the wild early
      and also abort the process safely. Breaking assumptions in any runtime
      function can no longer accidentally be caught by JavaScript.
      
      R=yangguo@chromium.org
      BUG=v8:5066
      
      Review-Url: https://codereview.chromium.org/2132493002
      Cr-Commit-Position: refs/heads/master@{#37704}
      04062e92
  14. 01 Jul, 2016 1 commit
    • bmeurer's avatar
      [builtins] Unify most of the remaining Math builtins. · 0a0fe8fb
      bmeurer authored
      Import fdlibm versions of acos, acosh, asin and asinh, which are more
      precise and produce the same result across platforms (we were using
      libm versions for asin and acos so far, where both speed and precision
      depended on the operating system so far). Introduce appropriate TurboFan
      operators for these functions and use them both for inlining and for the
      generic builtin.
      
      Also migrate the Math.imul and Math.fround builtins to TurboFan builtins
      to ensure that their behavior is always exactly the same as the inlined
      TurboFan version (i.e. C++ truncation semantics for double to float
      don't necessarily meet the JavaScript semantics).
      
      For completeness, also migrate Math.sign, which can even get some nice
      love in TurboFan.
      
      Drive-by-fix: Some alpha-sorting on the Math related functions, and
      cleanup the list of Math intrinsics that we have to export via the
      native context currently.
      
      BUG=v8:3266,v8:3496,v8:3509,v8:3952,v8:5169,v8:5170,v8:5171,v8:5172
      TBR=rossberg@chromium.org
      R=franzih@chromium.org
      
      Review-Url: https://codereview.chromium.org/2116753002
      Cr-Commit-Position: refs/heads/master@{#37476}
      0a0fe8fb
  15. 30 Jun, 2016 2 commits
  16. 29 Jun, 2016 1 commit
  17. 28 Jun, 2016 4 commits
  18. 22 Jun, 2016 1 commit
  19. 21 Jun, 2016 1 commit
    • bmeurer's avatar
      [builtins] Make sure the Math functions and constants agree. · 7877ddec
      bmeurer authored
      While the EcmaScript specification doesn't define precise values for the
      Math constants or the Math functions, we should at least ensure that the
      values of the constants and the functions agree, i.e. Math.E should be
      exactly the same value as Math.exp(1).
      
      Also make sure that Math.exp(1) returns the expected value; we should
      revisit the fdlibm algorithm and figure out why it's wrong in the last
      bit.
      
      CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel
      BUG=chromium:626111,v8:3266,v8:3468,v8:3493,v8:5086,v8:5108
      R=yangguo@chromium.org
      
      Review-Url: https://codereview.chromium.org/2079233005
      Cr-Commit-Position: refs/heads/master@{#37128}
      7877ddec
  20. 20 Jun, 2016 3 commits
  21. 17 Jun, 2016 4 commits
  22. 16 Jun, 2016 3 commits
  23. 15 Jun, 2016 1 commit