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

Issue 200443004: Move left and right trimming of FixedArray into Heap. (Closed)

Created:
6 years, 9 months ago by Michael Starzinger
Modified:
6 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Move left and right trimming of FixedArray into Heap. R=hpayer@chromium.org BUG=v8:3231 LOG=n Committed: https://code.google.com/p/v8/source/detail?r=22858

Patch Set 1 #

Patch Set 2 : Revived and rebased. #

Total comments: 6

Patch Set 3 : Addressed comments by Hannes Payer. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -148 lines) Patch
M src/builtins.cc View 1 3 chunks +2 lines, -66 lines 0 comments Download
M src/elements.cc View 1 4 chunks +7 lines, -21 lines 0 comments Download
M src/heap/heap.h View 1 2 1 chunk +12 lines, -2 lines 0 comments Download
M src/heap/heap.cc View 1 2 1 chunk +119 lines, -0 lines 2 comments Download
M src/objects.cc View 1 8 chunks +11 lines, -59 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Michael Starzinger
6 years, 9 months ago (2014-03-25 14:15:35 UTC) #1
Hannes Payer (out of office)
Logically, I think LeftTrimFixedArray and RightTrimFixedArray should be part of FixedArrayBase. But they shouldn't access ...
6 years, 8 months ago (2014-03-31 12:00:43 UTC) #2
danno-g
Hmm. I am not sure I agree, Hannes. Why should they be in FixedArray? The ...
6 years, 8 months ago (2014-04-01 13:45:10 UTC) #3
Hannes Payer (out of office)
On 2014/04/01 13:45:10, danno-g wrote: > Hmm. I am not sure I agree, Hannes. Why ...
6 years, 8 months ago (2014-04-01 15:29:55 UTC) #4
Michael Starzinger
As discussed offline, I revived and rebased this CL. PTAL.
6 years, 4 months ago (2014-08-05 10:32:10 UTC) #5
Hannes Payer (out of office)
https://codereview.chromium.org/200443004/diff/40001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/200443004/diff/40001/src/heap/heap.cc#newcode3291 src/heap/heap.cc:3291: Object** zap = reinterpret_cast<Object**>(object->address()); Please add a a method ...
6 years, 4 months ago (2014-08-05 10:45:07 UTC) #6
Michael Starzinger
Addressed comments. https://codereview.chromium.org/200443004/diff/40001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/200443004/diff/40001/src/heap/heap.cc#newcode3291 src/heap/heap.cc:3291: Object** zap = reinterpret_cast<Object**>(object->address()); On 2014/08/05 10:45:07, ...
6 years, 4 months ago (2014-08-05 11:01:06 UTC) #7
Hannes Payer (out of office)
LGTM https://codereview.chromium.org/200443004/diff/60001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/200443004/diff/60001/src/heap/heap.cc#newcode3300 src/heap/heap.cc:3300: ZapFixedArrayForTrimming(object->address(), elements_to_trim); As discussed offline, zapping should not ...
6 years, 4 months ago (2014-08-05 11:08:15 UTC) #8
Michael Starzinger
6 years, 4 months ago (2014-08-05 11:16:20 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 manually as 22858 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698