1. 05 Oct, 2015 19 commits
  2. 03 Oct, 2015 3 commits
    • Michael Hablich's avatar
      Update version to 4.8 · 01590d66
      Michael Hablich authored
      TBR=machenbach@chromium.org
      NOTRY=true
      
      Review URL: https://codereview.chromium.org/1387763002 .
      
      Cr-Commit-Position: refs/heads/master@{#31093}
      01590d66
    • ofrobots's avatar
      improve perf_basic_prof filename reporting · 03ef3cd0
      ofrobots authored
      The buffer used for appending filenames to the string printed to the
      perf_basic_prof log was unnecessarily too small. Bump it up to be at least
      kUtf8BufferSize.
      
      Truncation of filenames makes it really hard to work with profiles gathered on
      Node.js. Because of the way Node.js works, you can have node module dependencies
      in deeply nested directories. The last thing you want when investigating a
      performance problem is to have script names be truncated.
      
      This patch is a stop-gap. Ideally, I want no truncation of the filename at all
      and use a dynamically growing buffer. That would be a larger change, and I
      wanted to have a quick fix available that can be back-ported to Node.js LTS
      release.
      
      R=yangguo@chromium.org,yurys@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/1388543002
      
      Cr-Commit-Position: refs/heads/master@{#31092}
      03ef3cd0
    • v8-autoroll's avatar
      Update V8 DEPS. · 8708e4e3
      v8-autoroll authored
      Rolling v8/tools/clang to 071be3c47dbf2dfb347629bbfb0afe462cbc571b
      
      TBR=machenbach@chromium.org,vogelheim@chromium.org,hablich@chromium.org
      
      Review URL: https://codereview.chromium.org/1379053003
      
      Cr-Commit-Position: refs/heads/master@{#31091}
      8708e4e3
  3. 02 Oct, 2015 18 commits
    • mbrandy's avatar
      [test] Protect against infinite loops in LiveRange logic. · 4ddc9f1c
      mbrandy authored
      A subset of the LiveRangeUnitTests (SplitInvalidPreStart,
      InvalidSplitEnd, SplitInvalidPostEnd) fail or hang on AIX in release
      mode.
      
      These tests fork a child which is expected to crash in
      register-allocator code after feeding in bad inputs.
      
      In debug mode, they behave as expected due to hitting a debug assert.
      
      In release mode, however, the tests rely only on the fact that
      dereferencing a null pointer will cause a SEGFAULT.  This is true on
      most platforms, but not AIX.  An AIX process has valid low memory
      pages mapped for reading and will not fault.  Thus, these tests fail
      or hang because the child process survives the load from address zero
      and either completes (with undefined results) or goes into an infinite
      loop.
      
      R=bmeurer@chromium.org, danno@chromium.org, michael_dawson@ca.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1384733002
      
      Cr-Commit-Position: refs/heads/master@{#31090}
      4ddc9f1c
    • rmcilroy's avatar
      [Interpreter] Add CallRuntime support to the interpreter. · 75f6ad74
      rmcilroy authored
      Adds support for calling runtime functions from the interpreter. Adds the
      CallRuntime bytecode which takes a Runtime::FunctionId of the function to call
      and the arguments in sequential registers. Adds a InterpreterCEntry builtin
      to enable the interpreter to enter C++ code based on the functionId.
      
      Also renames Builtin::PushArgsAndCall to Builtin::InterpreterPushArgsAndCall
      and groups all the interpreter builtins together.
      
      BUG=v8:4280
      LOG=N
      
      Review URL: https://codereview.chromium.org/1362383002
      
      Cr-Commit-Position: refs/heads/master@{#31089}
      75f6ad74
    • rmcilroy's avatar
      Add some owners to interpreter · cf036c6f
      rmcilroy authored
      Adds the following owners to interpreter/ directory:
       - oth@chromium.org
       - mstarzinger@chromium.org
       - bmeurer@chromium.org
      
      Also sets noparent on the directory.
      
      Review URL: https://codereview.chromium.org/1374533005
      
      Cr-Commit-Position: refs/heads/master@{#31088}
      cf036c6f
    • danno's avatar
      Re-reland: Remove register index/code indirection · 5cf1c0bc
      danno authored
      Previous to this patch, both the lithium and TurboFan register
      allocators tracked allocated registers by "indices", rather than
      the register codes used elsewhere in the runtime. This patch
      ensures that codes are used everywhere, and in the process cleans
      up a bunch of redundant code and adds more structure to how the
      set of allocatable registers is defined.
      
      Some highlights of changes:
      
      * TurboFan's RegisterConfiguration class moved to V8's top level
        so that it can be shared with Crankshaft.
      * Various "ToAllocationIndex" and related methods removed.
      * Code that can be easily shared between Register classes on
        different platforms is now shared.
      * The list of allocatable registers on each platform is declared
        as a list rather than implicitly via the register index <->
        code mapping.
      
      Committed: https://crrev.com/80bc6f6e11f79524e3f1ad05579583adfd5f18b2
      Cr-Commit-Position: refs/heads/master@{#30913}
      
      Committed: https://crrev.com/7b7a8205d9a00c678fb7a6e032a55fecbc1509cf
      Cr-Commit-Position: refs/heads/master@{#31075}
      
      Review URL: https://codereview.chromium.org/1287383003
      
      Cr-Commit-Position: refs/heads/master@{#31087}
      5cf1c0bc
    • bmeurer's avatar
      [runtime] Share constructor/non-constructor bound function maps. · 6f81ee6a
      bmeurer authored
      Properly share both the constructor and the non-constructor maps
      for bound functions. Previously we had only the non-constructor
      map shared on the native context, and we had to create a new map
      for every bound function whose [[BoundTargetFunction]] is a
      constructor (in the ES6 sense).
      
      This should repair the most recent regression on Speedometer.
      
      CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux_nosnap_dbg
      R=jarin@chromium.org
      BUG=chromium:536114,chromium:535408,v8:4430
      LOG=n
      
      Review URL: https://codereview.chromium.org/1379323002
      
      Cr-Commit-Position: refs/heads/master@{#31086}
      6f81ee6a
    • hpayer's avatar
      [heap] Fix test-heap/PromotionQueue test. · faa64095
      hpayer authored
      BUG=
      
      Review URL: https://codereview.chromium.org/1376143006
      
      Cr-Commit-Position: refs/heads/master@{#31085}
      faa64095
    • danno's avatar
      Revert of [swarming] Isolate v8 testing. (patchset #8 id:140001 of... · 280a6f8e
      danno authored
      Revert of [swarming] Isolate v8 testing. (patchset #8 id:140001 of https://codereview.chromium.org/1380593002/ )
      
      Reason for revert:
      Prime suspect in breakage of V8 Linux -- no snap
      
      Original issue's description:
      > [swarming] Isolate v8 testing.
      >
      > Add gyp support and isolates for default test suites.
      > Add two default isolates, one (default) for using the
      > test suite collection we call "default" on the bots. One
      > (developer_default) for also supporting the way developers
      > call the driver (i.e. without argument, which includes
      > the unittests).
      >
      > BUG=chromium:535160
      > LOG=n
      >
      > Committed: https://crrev.com/9bd83f58f29ab0c7c5b71b00bcb1df3a9e641f05
      > Cr-Commit-Position: refs/heads/master@{#31081}
      
      TBR=tandrii@chromium.org,jochen@chromium.org,maruel@chromium.org,machenbach@chromium.org
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=chromium:535160
      
      Review URL: https://codereview.chromium.org/1370993008
      
      Cr-Commit-Position: refs/heads/master@{#31084}
      280a6f8e
    • danno's avatar
      Revert of Reland: Remove register index/code indirection (patchset #20... · 00e07b00
      danno authored
      Revert of Reland: Remove register index/code indirection (patchset #20 id:380001 of https://codereview.chromium.org/1287383003/ )
      
      Reason for revert:
      Failures on MIPS
      
      Original issue's description:
      > Remove register index/code indirection
      >
      > Previous to this patch, both the lithium and TurboFan register
      > allocators tracked allocated registers by "indices", rather than
      > the register codes used elsewhere in the runtime. This patch
      > ensures that codes are used everywhere, and in the process cleans
      > up a bunch of redundant code and adds more structure to how the
      > set of allocatable registers is defined.
      >
      > Some highlights of changes:
      >
      > * TurboFan's RegisterConfiguration class moved to V8's top level
      >   so that it can be shared with Crankshaft.
      > * Various "ToAllocationIndex" and related methods removed.
      > * Code that can be easily shared between Register classes on
      >   different platforms is now shared.
      > * The list of allocatable registers on each platform is declared
      >   as a list rather than implicitly via the register index <->
      >   code mapping.
      >
      > Committed: https://crrev.com/80bc6f6e11f79524e3f1ad05579583adfd5f18b2
      > Cr-Commit-Position: refs/heads/master@{#30913}
      >
      > Committed: https://crrev.com/7b7a8205d9a00c678fb7a6e032a55fecbc1509cf
      > Cr-Commit-Position: refs/heads/master@{#31075}
      
      TBR=akos.palfi@imgtec.com,bmeurer@chromium.org,jarin@chromium.org,paul.lind@imgtec.com,titzer@chromium.org
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      
      Review URL: https://codereview.chromium.org/1380863004
      
      Cr-Commit-Position: refs/heads/master@{#31083}
      00e07b00
    • ulan's avatar
      Add a flag for memory reducer. · ea22bb1f
      ulan authored
      BUG=
      
      Review URL: https://codereview.chromium.org/1375853005
      
      Cr-Commit-Position: refs/heads/master@{#31082}
      ea22bb1f
    • machenbach's avatar
      [swarming] Isolate v8 testing. · 9bd83f58
      machenbach authored
      Add gyp support and isolates for default test suites.
      Add two default isolates, one (default) for using the
      test suite collection we call "default" on the bots. One
      (developer_default) for also supporting the way developers
      call the driver (i.e. without argument, which includes
      the unittests).
      
      BUG=chromium:535160
      LOG=n
      
      Review URL: https://codereview.chromium.org/1380593002
      
      Cr-Commit-Position: refs/heads/master@{#31081}
      9bd83f58
    • cbruni's avatar
      [cctest] adding tests for elements kind map migrations · a9b84c1b
      cbruni authored
      R=mvstanton@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/1368403003
      
      Cr-Commit-Position: refs/heads/master@{#31080}
      a9b84c1b
    • ulan's avatar
      Tune evacuation candidate selection. · 6d136103
      ulan authored
      This disables aggressive compaction for non-memory reducer GCs.
      
      BUG=chromium:502247
      LOG=NO
      
      Review URL: https://codereview.chromium.org/1375703003
      
      Cr-Commit-Position: refs/heads/master@{#31079}
      6d136103
    • rmcilroy's avatar
      Revert of [Interpreter] Add CallRuntime support to the interpreter. (patchset... · b4a2f656
      rmcilroy authored
      Revert of [Interpreter] Add CallRuntime support to the interpreter. (patchset #8 id:220001 of https://codereview.chromium.org/1362383002/ )
      
      Reason for revert:
      Now breaking arm32 debug bot (worked locally even with --debug-code, so I'll need to figure out what's different on the bot)
      
      Original issue's description:
      > [Interpreter] Add CallRuntime support to the interpreter.
      >
      > Adds support for calling runtime functions from the interpreter. Adds the
      > CallRuntime bytecode which takes a Runtime::FunctionId of the function to call
      > and the arguments in sequential registers. Adds a InterpreterCEntry builtin
      > to enable the interpreter to enter C++ code based on the functionId.
      >
      > Also renames Builtin::PushArgsAndCall to Builtin::InterpreterPushArgsAndCall
      > and groups all the interpreter builtins together.
      >
      > BUG=v8:4280
      > LOG=N
      >
      
      TBR=bmeurer@chromium.org,oth@chromium.org,mstarzinger@chromium.org
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=v8:4280
      
      Review URL: https://codereview.chromium.org/1379933003
      
      Cr-Commit-Position: refs/heads/master@{#31078}
      b4a2f656
    • machenbach's avatar
      [test] Mark test as failing on arm. · 9a43b521
      machenbach authored
      BUG=v8:4459
      LOG=n
      NOTRY=true
      NOTREECHECKS=true
      TBR=jkummerow@chromium.org
      
      Review URL: https://codereview.chromium.org/1384663004
      
      Cr-Commit-Position: refs/heads/master@{#31077}
      9a43b521
    • rmcilroy's avatar
      [Interpreter] Add CallRuntime support to the interpreter. · c991d8f3
      rmcilroy authored
      Adds support for calling runtime functions from the interpreter. Adds the
      CallRuntime bytecode which takes a Runtime::FunctionId of the function to call
      and the arguments in sequential registers. Adds a InterpreterCEntry builtin
      to enable the interpreter to enter C++ code based on the functionId.
      
      Also renames Builtin::PushArgsAndCall to Builtin::InterpreterPushArgsAndCall
      and groups all the interpreter builtins together.
      
      BUG=v8:4280
      LOG=N
      
      Committed: https://crrev.com/40e8424b744f8b6e3e1d93e20f23487419911dfc
      Cr-Commit-Position: refs/heads/master@{#31064}
      
      Review URL: https://codereview.chromium.org/1362383002
      
      Cr-Commit-Position: refs/heads/master@{#31076}
      c991d8f3
    • danno's avatar
      Remove register index/code indirection · 7b7a8205
      danno authored
      Previous to this patch, both the lithium and TurboFan register
      allocators tracked allocated registers by "indices", rather than
      the register codes used elsewhere in the runtime. This patch
      ensures that codes are used everywhere, and in the process cleans
      up a bunch of redundant code and adds more structure to how the
      set of allocatable registers is defined.
      
      Some highlights of changes:
      
      * TurboFan's RegisterConfiguration class moved to V8's top level
        so that it can be shared with Crankshaft.
      * Various "ToAllocationIndex" and related methods removed.
      * Code that can be easily shared between Register classes on
        different platforms is now shared.
      * The list of allocatable registers on each platform is declared
        as a list rather than implicitly via the register index <->
        code mapping.
      
      Committed: https://crrev.com/80bc6f6e11f79524e3f1ad05579583adfd5f18b2
      Cr-Commit-Position: refs/heads/master@{#30913}
      
      Review URL: https://codereview.chromium.org/1287383003
      
      Cr-Commit-Position: refs/heads/master@{#31075}
      7b7a8205
    • cbruni's avatar
      [cross-context] create new function prototypes in the context of the function · 1cb89904
      cbruni authored
      BUG=v8:4217
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1381543005
      
      Cr-Commit-Position: refs/heads/master@{#31074}
      1cb89904
    • machenbach's avatar
      [test] Run intl test suite where it should run. · e514fd31
      machenbach authored
      BUG=chromium:535160,v8:4459
      LOG=n
      NOTRY=true
      
      Review URL: https://codereview.chromium.org/1384683002
      
      Cr-Commit-Position: refs/heads/master@{#31073}
      e514fd31