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

Issue 15993012: Allocation type info advice consumed in bailout path leads to assert failure. (Closed)

Created:
7 years, 6 months ago by mvstanton
Modified:
7 years, 6 months ago
Reviewers:
danno
CC:
v8-dev
Visibility:
Public.

Description

Allocation type info advice consumed in bailout path leads to assert failure. If the runtime is taken for a constructor like "new Array(100000)", where allocation site info already led to an elements kind of DOUBLE, then the runtime would fail to transition the array to dictionary mode. Better to recognize this case and avoid wasting time by following the advice. Furthermore, it offers a way to recognize that the array should be in dictionary mode (though a future checkin will capitalize on that). BUG= R=danno@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=14966

Patch Set 1 #

Total comments: 4

Patch Set 2 : Code comments and bugfix #

Total comments: 2

Patch Set 3 : Addressed comment #

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

Messages

Total messages: 6 (0 generated)
mvstanton
Hi Danno, here is the bugfix I referred to earlier today. I also added a ...
7 years, 6 months ago (2013-06-04 15:43:16 UTC) #1
danno
lgtm with comments https://codereview.chromium.org/15993012/diff/1/src/builtins.cc File src/builtins.cc (right): https://codereview.chromium.org/15993012/diff/1/src/builtins.cc#newcode212 src/builtins.cc:212: bool ignore_advice = false; ignore_type_feedback is ...
7 years, 6 months ago (2013-06-04 16:29:46 UTC) #2
mvstanton
Thanks for the comments Danno, I've addressed, and I noticed another issue, see comments. --Michael ...
7 years, 6 months ago (2013-06-05 08:47:07 UTC) #3
danno
lgtm with the comment https://codereview.chromium.org/15993012/diff/4001/src/builtins.cc File src/builtins.cc (right): https://codereview.chromium.org/15993012/diff/4001/src/builtins.cc#newcode212 src/builtins.cc:212: bool ignore_type_feedback = false; Last ...
7 years, 6 months ago (2013-06-05 11:31:13 UTC) #4
mvstanton
Awesome, thanks! https://codereview.chromium.org/15993012/diff/4001/src/builtins.cc File src/builtins.cc (right): https://codereview.chromium.org/15993012/diff/4001/src/builtins.cc#newcode212 src/builtins.cc:212: bool ignore_type_feedback = false; On 2013/06/05 11:31:13, ...
7 years, 6 months ago (2013-06-06 09:23:33 UTC) #5
mvstanton
7 years, 6 months ago (2013-06-06 09:26:36 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r14966 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698