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

Issue 10306010: Make DeltaBlue performance more stable by ignoring type feedback that (Closed)

Created:
8 years, 7 months ago by Erik Corry
Modified:
8 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Make DeltaBlue performance more stable by ignoring type feedback that tells us that a map can transition to another map when we are generating code for load operations. This may cause us to deopt if the same routine is seeing different maps caused by branching in constructors. If so, I have a different change that is around 100 times more complicated that lets us generated Crankshaft code for negative lookups. Committed: https://code.google.com/p/v8/source/detail?r=11524

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M src/hydrogen-instructions.cc View 2 chunks +8 lines, -1 line 6 comments Download

Messages

Total messages: 5 (0 generated)
Erik Corry
8 years, 7 months ago (2012-05-02 13:14:58 UTC) #1
Michael Starzinger
https://chromiumcodereview.appspot.com/10306010/diff/1/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://chromiumcodereview.appspot.com/10306010/diff/1/src/hydrogen-instructions.cc#newcode1628 src/hydrogen-instructions.cc:1628: case MAP_TRANSITION: I think that check is not general ...
8 years, 7 months ago (2012-05-02 13:39:28 UTC) #2
Sven Panne
https://chromiumcodereview.appspot.com/10306010/diff/1/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://chromiumcodereview.appspot.com/10306010/diff/1/src/hydrogen-instructions.cc#newcode1628 src/hydrogen-instructions.cc:1628: case MAP_TRANSITION: On 2012/05/02 13:39:29, Michael Starzinger wrote: > ...
8 years, 7 months ago (2012-05-02 13:54:59 UTC) #3
Erik Corry
https://chromiumcodereview.appspot.com/10306010/diff/1/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://chromiumcodereview.appspot.com/10306010/diff/1/src/hydrogen-instructions.cc#newcode1628 src/hydrogen-instructions.cc:1628: case MAP_TRANSITION: On 2012/05/02 13:55:00, Sven Panne wrote: > ...
8 years, 7 months ago (2012-05-03 10:39:14 UTC) #4
Michael Starzinger
8 years, 7 months ago (2012-05-03 14:12:22 UTC) #5
OK, I looked through the CL again. So basically the switch is just a
conservative estimate to detect all lookup results that are real properties for
sure. And what you added is that MAP_TRANSITIONs (which are transitions for
sure) will cause a deopt instead of forcing a generic LoadIC. I get it now.

LGTM. Sorry for the confusion.

https://chromiumcodereview.appspot.com/10306010/diff/1/src/hydrogen-instructi...
File src/hydrogen-instructions.cc (right):

https://chromiumcodereview.appspot.com/10306010/diff/1/src/hydrogen-instructi...
src/hydrogen-instructions.cc:1630: // operation.
In this case, this comment should contain something like "... and possibly
deoptimize in these cases".

Powered by Google App Engine
This is Rietveld 408576698