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

Issue 18531007: AllocationSites: when updating allocation site transition information, (Closed)

Created:
7 years, 5 months ago by mvstanton
Modified:
7 years, 5 months ago
Reviewers:
Toon Verwaest
CC:
v8-dev
Visibility:
Public.

Description

AllocationSites: when updating allocation site transition information, be careful to merge feedback appropriately. For example, one array may have gone holey, and then another allocated at the same place instead went DOUBLE but remained packed. In this case the ElementsKind ultimately stored in the AllocationSite should be HOLEY_DOUBLE. BUG= R=verwaest@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15629

Patch Set 1 #

Total comments: 4

Patch Set 2 : Code comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -0 lines) Patch
M src/objects.cc View 1 2 chunks +8 lines, -0 lines 0 comments Download
M test/mjsunit/allocation-site-info.js View 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
mvstanton
Hi Toon, here is the "generalizing feedback" code we discussed. Have a look when possible, ...
7 years, 5 months ago (2013-07-11 11:28:41 UTC) #1
Toon Verwaest
lgtm with comment https://codereview.chromium.org/18531007/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/18531007/diff/1/src/objects.cc#newcode12321 src/objects.cc:12321: if (IsHoleyElementsKind(kind) && IsFastPackedElementsKind(to_kind)) { You ...
7 years, 5 months ago (2013-07-11 13:04:40 UTC) #2
mvstanton
right on, thanks! --Michael https://codereview.chromium.org/18531007/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/18531007/diff/1/src/objects.cc#newcode12321 src/objects.cc:12321: if (IsHoleyElementsKind(kind) && IsFastPackedElementsKind(to_kind)) { ...
7 years, 5 months ago (2013-07-11 13:08:26 UTC) #3
mvstanton
7 years, 5 months ago (2013-07-11 13:08:44 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r15629 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698