1. 29 Jan, 2016 1 commit
    • jkummerow's avatar
      Introduce {FAST,SLOW}_STRING_WRAPPER_ELEMENTS · f4872f74
      jkummerow authored
      String wrappers (new String("foo")) are special objects: their string
      characters are accessed like elements, and they also have an elements
      backing store. This used to require a bunch of explicit checks like:
      
      if (obj->IsJSValue() && JSValue::cast(obj)->value()->IsString()) {
        /* Handle string characters */
      }
      // Handle regular elements (for string wrappers and other objects)
      obj->GetElementsAccessor()->Whatever(...);
      
      This CL introduces new ElementsKinds for string wrapper objects (one for
      fast elements, one for dictionary elements), which allow folding the
      special-casing into new StringWrapperElementsAccessors.
      
      No observable change in behavior is intended.
      
      Review URL: https://codereview.chromium.org/1612323003
      
      Cr-Commit-Position: refs/heads/master@{#33616}
      f4872f74
  2. 26 Jan, 2016 1 commit
    • jarin's avatar
      Replace HeapType with a non-templated FieldType class. · cfaeb63b
      jarin authored
      This replace HeapType with a dedicated class that implements just what we need for field type tracking. In the next CL, I plan to remove FieldType::Iterator because FieldType can iterate over at most one map.
      
      The ultimate plan is to get rid of templates in types.(h|cc) and remove type-inl.h.
      
      TBR=rossberg@chromium.org
      
      Review URL: https://codereview.chromium.org/1636013002
      
      Cr-Commit-Position: refs/heads/master@{#33521}
      cfaeb63b
  3. 23 Dec, 2015 1 commit
  4. 11 Dec, 2015 1 commit
  5. 09 Dec, 2015 2 commits
  6. 07 Dec, 2015 1 commit
  7. 16 Nov, 2015 1 commit
  8. 29 Sep, 2015 2 commits
  9. 28 Sep, 2015 1 commit
  10. 25 Sep, 2015 1 commit
  11. 21 Sep, 2015 1 commit
    • mythria's avatar
      Continuing removing deprecated function from cctest · 41111e3d
      mythria authored
      Removes deprecated functions from the following files:
      
      test/cctest/compiler/function-tester.h
      test/cctest/test-thread-termination.cc
      test/cctest/test-threads.cc
      test/cctest/test-transitions.cc
      test/cctest/test-typedarrays.cc
      test/cctest/test-types.cc
      test/cctest/test-typing-reset.cc
      test/cctest/test-unbound-queue.cc
      test/cctest/test-unboxed-doubles.cc
      
      BUG=v8:4134
      LOG=n
      
      Review URL: https://codereview.chromium.org/1344583002
      
      Cr-Commit-Position: refs/heads/master@{#30846}
      41111e3d
  12. 15 Sep, 2015 1 commit
  13. 21 Aug, 2015 1 commit
  14. 11 Aug, 2015 1 commit
    • bmeurer's avatar
      [runtime] Store constructor function index on primitive maps. · 6c743b2b
      bmeurer authored
      This way we can greatly simplify the different variants of ToObject in
      our codebase and make them more uniform and robust.  Adding a new
      primitive doesn't require finding and changing all those places again,
      but it is sufficient to setup the constructor function index when
      allocating the map.
      
      We use the inobject properties field of Map, which is invalid primitive
      maps anyway.
      
      R=jkummerow@chromium.org
      
      Review URL: https://codereview.chromium.org/1276533003
      
      Cr-Commit-Position: refs/heads/master@{#30119}
      6c743b2b
  15. 13 Jul, 2015 1 commit
  16. 08 Jun, 2015 1 commit
  17. 02 Jun, 2015 1 commit
  18. 23 Apr, 2015 1 commit
  19. 21 Apr, 2015 4 commits
    • jochen's avatar
      Revert of Reland "LayoutDescriptor should inherit from JSTypedArray" (patchset... · 1692380f
      jochen authored
      Revert of Reland "LayoutDescriptor should inherit from JSTypedArray" (patchset #3 id:40001 of https://codereview.chromium.org/1094333002/)
      
      Reason for revert:
      Breaks gbemu
      
      Original issue's description:
      > Reland "LayoutDescriptor should inherit from JSTypedArray"
      >
      > Original issue's description:
      > > LayoutDescriptor should inherit from JSTypedArray
      > >
      > > It can't just inherit from a FixedTypedArray-like type, as we soon
      > > assume that a FixedTypedArray-like type is always held by an
      > > ArrayBufferView-like type
      > >
      > > BUG=v8:3996
      > > R=ishell@chromium.org,verwaest@chromium.org
      > > LOG=n
      >
      > BUG=v8:3996
      > R=ishell@chromium.org,verwaest@chromium.org
      > LOG=n
      
      TBR=ishell@chromium.org,verwaest@chromium.org
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=v8:3996
      
      Review URL: https://codereview.chromium.org/1080403004
      
      Cr-Commit-Position: refs/heads/master@{#27975}
      1692380f
    • jochen's avatar
      Reland "LayoutDescriptor should inherit from JSTypedArray" · d20660e0
      jochen authored
      Original issue's description:
      > LayoutDescriptor should inherit from JSTypedArray
      >
      > It can't just inherit from a FixedTypedArray-like type, as we soon
      > assume that a FixedTypedArray-like type is always held by an
      > ArrayBufferView-like type
      >
      > BUG=v8:3996
      > R=ishell@chromium.org,verwaest@chromium.org
      > LOG=n
      
      BUG=v8:3996
      R=ishell@chromium.org,verwaest@chromium.org
      LOG=n
      
      Review URL: https://codereview.chromium.org/1094333002
      
      Cr-Commit-Position: refs/heads/master@{#27973}
      d20660e0
    • jochen's avatar
      Revert of LayoutDescriptor should inherit from JSTypedArray (patchset #1 id:1... · 8a309a1e
      jochen authored
      Revert of LayoutDescriptor should inherit from JSTypedArray (patchset #1 id:1 of https://codereview.chromium.org/1084793004/)
      
      Reason for revert:
      breaks mjsunit on debug bots
      
      Original issue's description:
      > LayoutDescriptor should inherit from JSTypedArray
      >
      > It can't just inherit from a FixedTypedArray-like type, as we soon
      > assume that a FixedTypedArray-like type is always held by an
      > ArrayBufferView-like type
      >
      > BUG=v8:3996
      > R=ishell@chromium.org,verwaest@chromium.org
      > LOG=n
      
      TBR=ishell@chromium.org,verwaest@chromium.org
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=v8:3996
      
      Review URL: https://codereview.chromium.org/1073053006
      
      Cr-Commit-Position: refs/heads/master@{#27968}
      8a309a1e
    • jochen's avatar
      LayoutDescriptor should inherit from JSTypedArray · 6d79ceb2
      jochen authored
      It can't just inherit from a FixedTypedArray-like type, as we soon
      assume that a FixedTypedArray-like type is always held by an
      ArrayBufferView-like type
      
      BUG=v8:3996
      R=ishell@chromium.org,verwaest@chromium.org
      LOG=n
      
      Review URL: https://codereview.chromium.org/1084793004
      
      Cr-Commit-Position: refs/heads/master@{#27964}
      6d79ceb2
  20. 15 Apr, 2015 2 commits
  21. 07 Apr, 2015 1 commit
  22. 30 Mar, 2015 1 commit
  23. 28 Mar, 2015 1 commit
  24. 27 Mar, 2015 2 commits
  25. 25 Mar, 2015 1 commit
    • ulan's avatar
      Reland "Filter invalid slots out from the SlotsBuffer after marking." · f86aadd1
      ulan authored
      > There are two reasons that could cause invalid slots appearance in SlotsBuffer:
      > 1) If GC trims "tail" of an array for which it has already recorded a slots and then migrate another object to the "tail".
      > 2) Tagged slot could become a double slot after migrating of an object to another map with "shifted" fields (for example as a result of generalizing immutable data property to a data field).
      
      > This CL also adds useful machinery that helps triggering incremental write barriers.
      
      > BUG=chromium:454297
      > LOG=Y
      
      NOTRY=true
      
      Review URL: https://codereview.chromium.org/1032833002
      
      Cr-Commit-Position: refs/heads/master@{#27433}
      f86aadd1
  26. 24 Mar, 2015 2 commits
    • machenbach's avatar
      Revert of Filter invalid slots out from the SlotsBuffer after marking.... · 4629f802
      machenbach authored
      Revert of Filter invalid slots out from the SlotsBuffer after marking. (patchset #6 id:220001 of https://codereview.chromium.org/1010363005/)
      
      Reason for revert:
      Need to revert in order to revert https://codereview.chromium.org/1029323003/
      
      Original issue's description:
      > Filter invalid slots out from the SlotsBuffer after marking.
      >
      > There are two reasons that could cause invalid slots appearance in SlotsBuffer:
      > 1) If GC trims "tail" of an array for which it has already recorded a slots and then migrate another object to the "tail".
      > 2) Tagged slot could become a double slot after migrating of an object to another map with "shifted" fields (for example as a result of generalizing immutable data property to a data field).
      >
      > This CL also adds useful machinery that helps triggering incremental write barriers.
      >
      > BUG=chromium:454297
      > LOG=Y
      >
      > Committed: https://crrev.com/5c47c1c0d3e4a488f190c16a64ee02f5a14e6561
      > Cr-Commit-Position: refs/heads/master@{#27423}
      
      TBR=hpayer@chromium.org,erik.corry@gmail.com,ishell@chromium.org
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=chromium:454297
      
      Review URL: https://codereview.chromium.org/1033453005
      
      Cr-Commit-Position: refs/heads/master@{#27426}
      4629f802
    • ishell's avatar
      Filter invalid slots out from the SlotsBuffer after marking. · 5c47c1c0
      ishell authored
      There are two reasons that could cause invalid slots appearance in SlotsBuffer:
      1) If GC trims "tail" of an array for which it has already recorded a slots and then migrate another object to the "tail".
      2) Tagged slot could become a double slot after migrating of an object to another map with "shifted" fields (for example as a result of generalizing immutable data property to a data field).
      
      This CL also adds useful machinery that helps triggering incremental write barriers.
      
      BUG=chromium:454297
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1010363005
      
      Cr-Commit-Position: refs/heads/master@{#27423}
      5c47c1c0
  27. 19 Mar, 2015 1 commit
  28. 18 Mar, 2015 1 commit
  29. 16 Mar, 2015 1 commit
    • ishell's avatar
      Revert of Reland of Remove slots that point to unboxed doubles from the... · 52cb51fb
      ishell authored
      Revert of Reland of Remove slots that point to unboxed doubles from the StoreBuffer/SlotsBuffer. (patchset #3 id:40001 of https://codereview.chromium.org/988363002/)
      
      Reason for revert:
      Increased rate of Chrome crashes. Requires further investigation.
      
      Original issue's description:
      > Reland of Remove slots that point to unboxed doubles from the StoreBuffer/SlotsBuffer.
      >
      > The problem is that tagged slot could become a double slot after migrating of an object to another map with "shifted" fields (for example as a result of generalizing immutable data property to a data field).
      > This CL also adds useful machinery that helps triggering incremental write barriers.
      >
      > BUG=chromium:454297, chromium:465273
      > LOG=Y
      >
      > Committed: https://crrev.com/6d0677d845c47ab9fa297de61d0e3d8e5480a02a
      > Cr-Commit-Position: refs/heads/master@{#27141}
      
      TBR=hpayer@chromium.org
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=chromium:454297, chromium:465273
      
      Review URL: https://codereview.chromium.org/1004623003
      
      Cr-Commit-Position: refs/heads/master@{#27207}
      52cb51fb
  30. 11 Mar, 2015 1 commit
  31. 09 Mar, 2015 1 commit
  32. 06 Mar, 2015 1 commit