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

Issue 2173653003: [elements] Omit fast path in PrependElementIndices (Closed)

Created:
4 years, 5 months ago by Camillo Bruni
Modified:
4 years, 5 months ago
Reviewers:
Jakob Kummerow
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[elements] Omit fast path in PrependElementIndices In PrependElementIndicesImpl we sort a FixedArray of indices potentially containing HeapNumbers. During the string conversion we might trigger a GC. This in turn might try to read a slot where we previously had a HeapNumber but the sort sneaked a SMI in there which is not a valid pointer. BUG=chromium:630561 Committed: https://crrev.com/7ede61ed1da8f21bd4043e0d66ef86240cf0fe7c Cr-Commit-Position: refs/heads/master@{#37993}

Patch Set 1 #

Patch Set 2 : avoid slow join in repro #

Total comments: 1

Patch Set 3 : adding missing convert condition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -18 lines) Patch
M src/elements.cc View 1 2 1 chunk +2 lines, -12 lines 0 comments Download
A + test/mjsunit/regress/regress-crbug-630561.js View 1 1 chunk +5 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
Camillo Bruni
PTAL
4 years, 5 months ago (2016-07-22 11:32:40 UTC) #2
Jakob Kummerow
https://codereview.chromium.org/2173653003/diff/20001/src/elements.cc File src/elements.cc (left): https://codereview.chromium.org/2173653003/diff/20001/src/elements.cc#oldcode1048 src/elements.cc:1048: if (convert == GetKeysConversion::kConvertToString) { I think you wanted ...
4 years, 5 months ago (2016-07-22 14:02:53 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2173653003/40001
4 years, 5 months ago (2016-07-22 14:04:36 UTC) #5
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 5 months ago (2016-07-22 14:04:37 UTC) #7
Jakob Kummerow
lgtm
4 years, 5 months ago (2016-07-22 14:07:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2173653003/40001
4 years, 5 months ago (2016-07-23 12:12:17 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-23 12:13:41 UTC) #15
commit-bot: I haz the power
4 years, 5 months ago (2016-07-23 12:16:31 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7ede61ed1da8f21bd4043e0d66ef86240cf0fe7c
Cr-Commit-Position: refs/heads/master@{#37993}

Powered by Google App Engine
This is Rietveld 408576698