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

Issue 21340002: Generate a custom OSR entrypoint for OSR compiles on all platforms, and transition to optimized cod… (Closed)

Created:
7 years, 4 months ago by titzer
Modified:
7 years, 3 months ago
CC:
v8-dev
Visibility:
Public.

Description

Generate a custom OSR entrypoint for OSR compiles on all platforms, and transition to optimized code using the special entrypoint, instead of through the deoptimizer. Do not install the OSR compiled code as _the_ optimized code for a function. Remove OSR-related stuff from deoptimizer. BUG= R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=16599

Patch Set 1 #

Total comments: 15

Patch Set 2 : Remove "bool install" from Compile* functions; fix Runtime_NotifyDeoptimized, formatting fixes, and… #

Patch Set 3 : Use FixedArray::OffsetAt and add comment to codegen. #

Total comments: 1

Patch Set 4 : Merge with intervening changes. #

Patch Set 5 : Remerge with recent changes. #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+493 lines, -1146 lines) Patch
M src/arm/builtins-arm.cc View 1 2 3 1 chunk +19 lines, -11 lines 0 comments Download
M src/arm/deoptimizer-arm.cc View 1 2 3 2 chunks +2 lines, -168 lines 0 comments Download
M src/arm/lithium-arm.cc View 1 2 3 4 3 chunks +22 lines, -4 lines 0 comments Download
M src/arm/lithium-codegen-arm.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 4 chunks +18 lines, -5 lines 0 comments Download
M src/compiler.h View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M src/compiler.cc View 1 2 3 10 chunks +57 lines, -53 lines 2 comments Download
M src/deoptimizer.h View 1 2 3 3 chunks +0 lines, -9 lines 0 comments Download
M src/deoptimizer.cc View 1 2 3 7 chunks +9 lines, -209 lines 0 comments Download
M src/hydrogen.h View 1 2 3 4 2 chunks +9 lines, -5 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 2 chunks +13 lines, -10 lines 1 comment Download
M src/hydrogen-instructions.cc View 1 2 3 1 chunk +5 lines, -0 lines 1 comment Download
M src/hydrogen-osr.h View 2 chunks +8 lines, -1 line 0 comments Download
M src/hydrogen-osr.cc View 1 2 3 2 chunks +12 lines, -2 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 3 1 chunk +19 lines, -11 lines 0 comments Download
M src/ia32/deoptimizer-ia32.cc View 1 2 3 4 chunks +12 lines, -210 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 chunks +25 lines, -5 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 3 chunks +26 lines, -4 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 2 3 1 chunk +20 lines, -12 lines 0 comments Download
M src/mips/deoptimizer-mips.cc View 1 2 3 2 chunks +2 lines, -167 lines 0 comments Download
M src/mips/lithium-codegen-mips.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 2 3 4 chunks +18 lines, -5 lines 0 comments Download
M src/mips/lithium-mips.cc View 1 2 3 3 chunks +22 lines, -4 lines 0 comments Download
M src/objects.h View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M src/objects.cc View 1 2 3 2 chunks +17 lines, -3 lines 1 comment Download
M src/runtime.cc View 1 2 3 4 3 chunks +17 lines, -11 lines 2 comments Download
M src/x64/builtins-x64.cc View 1 2 3 1 chunk +18 lines, -11 lines 0 comments Download
M src/x64/deoptimizer-x64.cc View 1 2 3 2 chunks +1 line, -170 lines 0 comments Download
M src/x64/lithium-codegen-x64.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 4 chunks +18 lines, -5 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 3 3 chunks +22 lines, -4 lines 0 comments Download
A + test/mjsunit/compiler/osr-assert.js View 1 chunk +7 lines, -10 lines 0 comments Download
A + test/mjsunit/compiler/osr-sar.js View 1 chunk +18 lines, -8 lines 0 comments Download
A + test/mjsunit/compiler/osr-uint32.js View 1 chunk +9 lines, -7 lines 0 comments Download
A + test/mjsunit/compiler/osr-warm.js View 1 chunk +17 lines, -11 lines 0 comments Download
M test/mjsunit/regress/regress-map-invalidation-2.js View 1 2 3 2 chunks +10 lines, -7 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
titzer
7 years, 4 months ago (2013-07-31 08:46:02 UTC) #1
titzer
On 2013/07/31 08:46:02, titzer wrote: A little more background for review: PRIOR: When the profiler ...
7 years, 4 months ago (2013-07-31 09:15:39 UTC) #2
Michael Starzinger
Nice change. A bunch of comments. The one major comment is in runtime.cc, where we ...
7 years, 4 months ago (2013-07-31 14:55:50 UTC) #3
vincent.belliard.fr
https://codereview.chromium.org/21340002/diff/1/src/arm/builtins-arm.cc File src/arm/builtins-arm.cc (right): https://codereview.chromium.org/21340002/diff/1/src/arm/builtins-arm.cc#newcode999 src/arm/builtins-arm.cc:999: __ add(r0, r0, r1); You can do the SmiUntag ...
7 years, 4 months ago (2013-07-31 15:07:44 UTC) #4
Michael Starzinger
https://codereview.chromium.org/21340002/diff/1/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/21340002/diff/1/src/runtime.cc#newcode8293 src/runtime.cc:8293: bool has_other_activations = false; On 2013/07/31 14:55:50, Michael Starzinger ...
7 years, 4 months ago (2013-07-31 16:29:33 UTC) #5
titzer
On 2013/07/31 15:07:44, vincent.belliard.fr wrote: > https://codereview.chromium.org/21340002/diff/1/src/arm/builtins-arm.cc > File src/arm/builtins-arm.cc (right): > > https://codereview.chromium.org/21340002/diff/1/src/arm/builtins-arm.cc#newcode999 > ...
7 years, 4 months ago (2013-08-01 07:39:43 UTC) #6
titzer
On 2013/08/01 07:39:43, titzer wrote: > On 2013/07/31 15:07:44, vincent.belliard.fr wrote: > > https://codereview.chromium.org/21340002/diff/1/src/arm/builtins-arm.cc > ...
7 years, 4 months ago (2013-08-01 07:43:30 UTC) #7
titzer
On 2013/07/31 14:55:50, Michael Starzinger wrote: > Nice change. A bunch of comments. The one ...
7 years, 4 months ago (2013-08-01 09:08:01 UTC) #8
Michael Starzinger
https://codereview.chromium.org/21340002/diff/14001/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/21340002/diff/14001/src/runtime.cc#newcode8247 src/runtime.cc:8247: if (it.frame()->function()->code() == *optimized_code) { Yep, this method is ...
7 years, 4 months ago (2013-08-01 09:25:29 UTC) #9
titzer
On 2013/08/01 09:25:29, Michael Starzinger wrote: > https://codereview.chromium.org/21340002/diff/14001/src/runtime.cc > File src/runtime.cc (right): > > https://codereview.chromium.org/21340002/diff/14001/src/runtime.cc#newcode8247 ...
7 years, 3 months ago (2013-09-09 07:35:58 UTC) #10
Michael Starzinger
LGTM with final round of comments. https://codereview.chromium.org/21340002/diff/21001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/21340002/diff/21001/src/compiler.cc#newcode1219 src/compiler.cc:1219: return result; // ...
7 years, 3 months ago (2013-09-09 15:34:43 UTC) #11
titzer
On 2013/09/09 15:34:43, Michael Starzinger wrote: > LGTM with final round of comments. > > ...
7 years, 3 months ago (2013-09-09 16:30:08 UTC) #12
titzer
7 years, 3 months ago (2013-09-09 16:35:16 UTC) #13
Message was sent while issue was closed.
Committed patchset #5 manually as r16599 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698