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

Issue 11186007: In optimized code always deoptimize if we encounter an instance call without type feedback (ICData … (Closed)

Created:
8 years, 2 months ago by srdjan
Modified:
8 years, 2 months ago
Reviewers:
regis
CC:
reviews_dartlang.org, zerny-google, Kevin Millikin (Google)
Visibility:
Public.

Description

In optimized code always deoptimize if we encounter an instance call without type feedback (ICData has no checks). Fix a bug in inliner: do not inline methods that have no compiled code as we can not deoptimize into them. This is the simplest fix, more complex fixes can be implemented if we see a need for them. This improves the speed of Meteor by 15% and NavierStokes by 40% (Mac OS X). Committed: https://code.google.com/p/dart/source/detail?r=13712

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -9 lines) Patch
M runtime/vm/code_generator.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/deopt_instructions.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 chunk +22 lines, -8 lines 0 comments Download
M runtime/vm/object.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
srdjan
8 years, 2 months ago (2012-10-16 23:09:07 UTC) #1
srdjan
8 years, 2 months ago (2012-10-16 23:43:32 UTC) #2
regis
8 years, 2 months ago (2012-10-16 23:45:05 UTC) #3
LGTM

Powered by Google App Engine
This is Rietveld 408576698