Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Issue 101413006: Implement in-heap backing store for typed arrays. (Closed)

Created:
7 years ago by Dmitry Lomov (no reviews)
Modified:
6 years, 11 months ago
CC:
v8-dev, Paweł Hajdan Jr.
Visibility:
Public.

Description

Implement in-heap backing store for typed arrays. This adds a fixed array sub-type that will represent a backing store for typed arrays allocated with TypedArray(length) construtor. R=mvstanton@chromium.org, verwaest@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=18651

Patch Set 1 #

Patch Set 2 : Self-review #

Total comments: 39

Patch Set 3 : Rebased #

Patch Set 4 : CR feedback #

Patch Set 5 : ARM port #

Patch Set 6 : Platform ports #

Total comments: 14

Patch Set 7 : CR feedback #

Patch Set 8 : GC fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1625 lines, -638 lines) Patch
M include/v8.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M src/arm/lithium-arm.h View 1 2 3 4 5 6 7 2 chunks +12 lines, -0 lines 0 comments Download
M src/arm/lithium-arm.cc View 1 2 3 4 5 6 7 4 chunks +16 lines, -16 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 7 8 chunks +65 lines, -20 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M src/elements.cc View 11 chunks +178 lines, -47 lines 0 comments Download
M src/elements-kind.h View 1 2 3 3 chunks +27 lines, -2 lines 0 comments Download
M src/elements-kind.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M src/factory.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/factory.cc View 1 2 2 chunks +15 lines, -1 line 0 comments Download
M src/heap.h View 1 2 3 4 5 6 7 4 chunks +25 lines, -0 lines 0 comments Download
M src/heap.cc View 1 2 3 4 5 6 7 6 chunks +248 lines, -268 lines 0 comments Download
M src/heap-inl.h View 1 2 3 4 5 6 7 3 chunks +3 lines, -2 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 6 chunks +18 lines, -10 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 6 7 9 chunks +47 lines, -16 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 6 7 10 chunks +31 lines, -6 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 2 3 4 5 6 7 3 chunks +16 lines, -1 line 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 4 5 6 7 4 chunks +18 lines, -18 lines 0 comments Download
M src/ic.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 chunks +113 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 9 chunks +116 lines, -3 lines 0 comments Download
M src/objects-debug.cc View 1 2 3 3 chunks +46 lines, -2 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 7 11 chunks +181 lines, -4 lines 0 comments Download
M src/objects-printer.cc View 1 2 3 4 5 6 7 4 chunks +80 lines, -64 lines 0 comments Download
M src/objects-visiting.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -1 line 0 comments Download
M src/objects-visiting.cc View 1 2 3 4 5 6 7 1 chunk +13 lines, -0 lines 0 comments Download
M src/objects-visiting-inl.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M src/runtime.cc View 1 2 3 4 5 6 7 2 chunks +11 lines, -1 line 0 comments Download
M src/stub-cache.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -4 lines 0 comments Download
M src/third_party/valgrind/valgrind.h View 1 2 3 4 5 6 16 chunks +22 lines, -22 lines 0 comments Download
M src/third_party/vtune/jitprofiling.h View 1 2 3 4 5 6 7 chunks +46 lines, -46 lines 0 comments Download
M src/third_party/vtune/jitprofiling.cc View 1 2 3 4 5 6 14 chunks +20 lines, -20 lines 0 comments Download
M src/third_party/vtune/v8-vtune.h View 1 2 3 4 5 6 2 chunks +11 lines, -11 lines 0 comments Download
M src/third_party/vtune/vtune-jit.h View 1 2 3 4 5 6 2 chunks +11 lines, -11 lines 0 comments Download
M src/third_party/vtune/vtune-jit.cc View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 5 6 7 6 chunks +36 lines, -8 lines 0 comments Download
M src/x64/lithium-x64.h View 1 2 3 4 5 6 7 2 chunks +12 lines, -0 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 3 4 5 6 7 3 chunks +20 lines, -19 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 6 7 3 chunks +116 lines, -8 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Dmitry Lomov (no reviews)
Michael, Toon, please take a preliminary look. No platform ports yet.
7 years ago (2013-12-19 16:37:22 UTC) #1
mvstanton
It looks pretty straightforward. Kind of a nit, it would be neat if the notion ...
7 years ago (2013-12-20 11:30:51 UTC) #2
Toon Verwaest
https://codereview.chromium.org/101413006/diff/20001/src/elements-kind.h File src/elements-kind.h (right): https://codereview.chromium.org/101413006/diff/20001/src/elements-kind.h#newcode151 src/elements-kind.h:151: IsFixedFloatOrDoubleElementsKind(kind); What about just renaming this to IsFixedFloatElementsKind, given ...
7 years ago (2013-12-23 10:40:32 UTC) #3
Dmitry Lomov (no reviews)
Thanks for review! Comments addressed, proceeding with platform ports https://codereview.chromium.org/101413006/diff/20001/src/elements-kind.h File src/elements-kind.h (right): https://codereview.chromium.org/101413006/diff/20001/src/elements-kind.h#newcode151 src/elements-kind.h:151: ...
6 years, 11 months ago (2014-01-07 15:48:42 UTC) #4
Dmitry Lomov (no reviews)
Platform ports finished, PTAL
6 years, 11 months ago (2014-01-14 08:04:11 UTC) #5
Toon Verwaest
Looks good from my side minus some nits below. https://codereview.chromium.org/101413006/diff/400001/src/arm/lithium-arm.cc File src/arm/lithium-arm.cc (right): https://codereview.chromium.org/101413006/diff/400001/src/arm/lithium-arm.cc#newcode2145 src/arm/lithium-arm.cc:2145: ...
6 years, 11 months ago (2014-01-16 10:54:50 UTC) #6
mvstanton
Looks good to me, I like the macros to reduce boilerplate. With Toon's comments addressed, ...
6 years, 11 months ago (2014-01-16 11:49:31 UTC) #7
Dmitry Lomov (no reviews)
Comments addressed, PTAL https://codereview.chromium.org/101413006/diff/400001/src/arm/lithium-arm.cc File src/arm/lithium-arm.cc (right): https://codereview.chromium.org/101413006/diff/400001/src/arm/lithium-arm.cc#newcode2145 src/arm/lithium-arm.cc:2145: !(IsDoubleOrFloatElementsKind(instr->elements_kind()))) || On 2014/01/16 10:54:51, Toon ...
6 years, 11 months ago (2014-01-16 13:52:17 UTC) #8
Toon Verwaest
lgtm
6 years, 11 months ago (2014-01-16 14:01:03 UTC) #9
Dmitry Lomov (no reviews)
Committed patchset #7 manually as r18646 (presubmit successful).
6 years, 11 months ago (2014-01-16 14:19:12 UTC) #10
Dmitry Lomov (no reviews)
Committed patchset #7 manually as r18649 (presubmit successful).
6 years, 11 months ago (2014-01-16 15:01:53 UTC) #11
Dmitry Lomov (no reviews)
Michael, Toon - PTAL. I discovered an issue with the patch - I forgot to ...
6 years, 11 months ago (2014-01-16 16:44:38 UTC) #12
mvstanton
lgtm
6 years, 11 months ago (2014-01-16 16:52:10 UTC) #13
Dmitry Lomov (no reviews)
On 2014/01/16 16:52:10, mvstanton wrote: > lgtm Thanks, landing again - third time's the charm
6 years, 11 months ago (2014-01-16 17:08:21 UTC) #14
Dmitry Lomov (no reviews)
6 years, 11 months ago (2014-01-16 17:09:11 UTC) #15
Message was sent while issue was closed.
Committed patchset #8 manually as r18651 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698