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

Issue 19638014: Factor out common code from platform-specific deoptimization. Fix Deoptimizer not to need to partit… (Closed)

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

Description

Factor out common code from platform-specific deoptimization. Fix Deoptimizer not to need to partition functions, but revoke their code before patching, allowing deoptimizing_code_list to be removed from Code; Add DeoptimizeCodeList API to deoptimizer, which works on a ZoneList<Code*>. BUG= R=mstarzinger@chromium.org, ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15854

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fix the WillBeDeoptimized check; Use the the type feedback info as the link in the code_to_deoptimi… #

Patch Set 3 : Comment Fix. #

Total comments: 4

Patch Set 4 : Cleanups post-review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -239 lines) Patch
M src/arm/deoptimizer-arm.cc View 2 chunks +1 line, -34 lines 0 comments Download
M src/deoptimizer.h View 2 chunks +7 lines, -3 lines 0 comments Download
M src/deoptimizer.cc View 1 2 3 6 chunks +93 lines, -48 lines 0 comments Download
M src/ia32/deoptimizer-ia32.cc View 2 chunks +1 line, -34 lines 0 comments Download
M src/mark-compact.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/mark-compact.cc View 1 8 chunks +44 lines, -17 lines 0 comments Download
M src/mips/deoptimizer-mips.cc View 2 chunks +1 line, -39 lines 0 comments Download
M src/objects.h View 1 2 3 chunks +6 lines, -15 lines 0 comments Download
M src/objects.cc View 1 3 chunks +6 lines, -11 lines 0 comments Download
M src/objects-inl.h View 1 2 3 1 chunk +10 lines, -3 lines 0 comments Download
M src/x64/deoptimizer-x64.cc View 3 chunks +2 lines, -35 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
titzer
7 years, 5 months ago (2013-07-19 16:59:02 UTC) #1
ulan
LGTM with comments. https://codereview.chromium.org/19638014/diff/1/src/deoptimizer.cc File src/deoptimizer.cc (right): https://codereview.chromium.org/19638014/diff/1/src/deoptimizer.cc#newcode486 src/deoptimizer.cc:486: codes->at(i)->set_marked_for_deoptimization(true); Maybe move marking for deoptimization ...
7 years, 5 months ago (2013-07-22 09:23:07 UTC) #2
titzer
PTAL: I needed to switch to using the type feedback field of the code object ...
7 years, 5 months ago (2013-07-23 12:40:59 UTC) #3
Michael Starzinger
LGTM (with comments). https://codereview.chromium.org/19638014/diff/11001/src/deoptimizer.cc File src/deoptimizer.cc (right): https://codereview.chromium.org/19638014/diff/11001/src/deoptimizer.cc#newcode346 src/deoptimizer.cc:346: // TODO(titzer): rewrite to not modify ...
7 years, 5 months ago (2013-07-24 09:24:57 UTC) #4
titzer
On 2013/07/24 09:24:57, Michael Starzinger wrote: > LGTM (with comments). > > https://codereview.chromium.org/19638014/diff/11001/src/deoptimizer.cc > File ...
7 years, 5 months ago (2013-07-24 09:54:42 UTC) #5
titzer
7 years, 5 months ago (2013-07-24 11:12:26 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r15854 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698