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

Issue 22915007: Clear next map word when folding allocations into js arrays. (Closed)

Created:
7 years, 3 months ago by Hannes Payer (out of office)
Modified:
7 years, 3 months ago
CC:
v8-dev
Visibility:
Public.

Description

Clear next map word when folding allocations into js arrays. BUG= R=mstarzinger@chromium.org, mvstanton@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=16381

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -14 lines) Patch
M src/heap.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -1 line 0 comments Download
M src/hydrogen-instructions.cc View 1 2 3 4 5 6 7 8 3 chunks +25 lines, -1 line 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 7 3 chunks +6 lines, -6 lines 0 comments Download
M test/mjsunit/allocation-folding.js View 1 2 3 4 2 chunks +25 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Hannes Payer (out of office)
7 years, 3 months ago (2013-08-26 09:26:06 UTC) #1
mvstanton
Hi Hannes, have a look at my comments, thx! https://codereview.chromium.org/22915007/diff/5001/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/22915007/diff/5001/src/hydrogen-instructions.cc#newcode3244 src/hydrogen-instructions.cc:3244: ...
7 years, 3 months ago (2013-08-26 10:01:27 UTC) #2
Hannes Payer (out of office)
https://codereview.chromium.org/22915007/diff/5001/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/22915007/diff/5001/src/hydrogen-instructions.cc#newcode3244 src/hydrogen-instructions.cc:3244: if (dominator_allocate_instr->type().Equals(HType::JSArray()) && On 2013/08/26 10:01:27, mvstanton wrote: > ...
7 years, 3 months ago (2013-08-26 11:51:07 UTC) #3
mvstanton
lgtm
7 years, 3 months ago (2013-08-26 12:00:01 UTC) #4
Michael Starzinger
not lgtm. https://codereview.chromium.org/22915007/diff/10001/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/22915007/diff/10001/src/hydrogen-instructions.cc#newcode3249 src/hydrogen-instructions.cc:3249: if (AllocationSite::CanTrack(dominator_allocate_instr->instance_type()) && This doesn't work properly ...
7 years, 3 months ago (2013-08-26 15:03:35 UTC) #5
Michael Starzinger
As discussed offline: I think this can be realized by not remembering the instance type ...
7 years, 3 months ago (2013-08-26 15:12:39 UTC) #6
mvstanton
Thx for catching that Michael!
7 years, 3 months ago (2013-08-26 15:24:33 UTC) #7
Hannes Payer (out of office)
On 2013/08/26 15:24:33, mvstanton wrote: > Thx for catching that Michael! Thx for the catch ...
7 years, 3 months ago (2013-08-26 16:42:57 UTC) #8
Michael Starzinger
https://codereview.chromium.org/22915007/diff/21001/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/22915007/diff/21001/src/hydrogen-instructions.cc#newcode3246 src/hydrogen-instructions.cc:3246: #else The #ifdef is not entirely correct. If we ...
7 years, 3 months ago (2013-08-27 08:41:24 UTC) #9
Hannes Payer (out of office)
https://codereview.chromium.org/22915007/diff/21001/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/22915007/diff/21001/src/hydrogen-instructions.cc#newcode3246 src/hydrogen-instructions.cc:3246: #else On 2013/08/27 08:41:24, Michael Starzinger wrote: > The ...
7 years, 3 months ago (2013-08-27 12:50:54 UTC) #10
Michael Starzinger
LGTM with one final nit. https://codereview.chromium.org/22915007/diff/29001/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://codereview.chromium.org/22915007/diff/29001/src/hydrogen-instructions.h#newcode5108 src/hydrogen-instructions.h:5108: void ClearNextMapWord(int offset); nit: ...
7 years, 3 months ago (2013-08-27 14:03:28 UTC) #11
Hannes Payer (out of office)
https://codereview.chromium.org/22915007/diff/29001/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://codereview.chromium.org/22915007/diff/29001/src/hydrogen-instructions.h#newcode5108 src/hydrogen-instructions.h:5108: void ClearNextMapWord(int offset); On 2013/08/27 14:03:28, Michael Starzinger wrote: ...
7 years, 3 months ago (2013-08-27 14:13:02 UTC) #12
Hannes Payer (out of office)
7 years, 3 months ago (2013-08-28 08:38:07 UTC) #13
Hannes Payer (out of office)
7 years, 3 months ago (2013-08-28 08:39:55 UTC) #14
Message was sent while issue was closed.
Committed patchset #9 manually as r16381 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698