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

Issue 23201016: Fix deoptimization bug, where recursive call can frighten and confuse the unwitting, simple, poor c… (Closed)

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

Description

Fix deoptimization bug, where recursive call can frighten and confuse the unwitting, simple, poor caveman that is Runtime_NotifyDeoptimized. BUG=274164 R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=16273

Patch Set 1 #

Total comments: 11

Patch Set 2 : Fix formatting and remove TODO. #

Patch Set 3 : Remove has_function_activations_ and use assignment. #

Total comments: 1

Patch Set 4 : Move tracing to correspond to when a function is delinked in the deoptimzer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -56 lines) Patch
M src/deoptimizer.h View 1 chunk +3 lines, -1 line 0 comments Download
M src/runtime.cc View 1 2 3 4 chunks +33 lines, -44 lines 0 comments Download
A + test/mjsunit/compiler/regress-shared-deopt.js View 1 1 chunk +31 lines, -11 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
titzer
7 years, 4 months ago (2013-08-21 14:49:03 UTC) #1
Toon Verwaest
https://codereview.chromium.org/23201016/diff/1/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/23201016/diff/1/src/runtime.cc#newcode8341 src/runtime.cc:8341: Handle<Code> optimized_code(deoptimizer->compiled_code()); Could we also rename compiled_code() in the ...
7 years, 4 months ago (2013-08-21 15:33:17 UTC) #2
Michael Starzinger
https://codereview.chromium.org/23201016/diff/1/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/23201016/diff/1/src/runtime.cc#newcode8314 src/runtime.cc:8314: if (frame->function() == function_) has_function_activations_ = true; The "has_function_activations" ...
7 years, 4 months ago (2013-08-21 16:20:27 UTC) #3
titzer
https://codereview.chromium.org/23201016/diff/1/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/23201016/diff/1/src/runtime.cc#newcode8341 src/runtime.cc:8341: Handle<Code> optimized_code(deoptimizer->compiled_code()); On 2013/08/21 15:33:17, Toon Verwaest wrote: > ...
7 years, 4 months ago (2013-08-21 16:20:48 UTC) #4
titzer
https://codereview.chromium.org/23201016/diff/1/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/23201016/diff/1/src/runtime.cc#newcode8314 src/runtime.cc:8314: if (frame->function() == function_) has_function_activations_ = true; On 2013/08/21 ...
7 years, 4 months ago (2013-08-21 16:26:28 UTC) #5
Michael Starzinger
LGTM with one final nit. https://codereview.chromium.org/23201016/diff/2001/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/23201016/diff/2001/src/runtime.cc#newcode8362 src/runtime.cc:8362: PrintF("[removing optimized code for: ...
7 years, 4 months ago (2013-08-22 12:39:42 UTC) #6
titzer
On 2013/08/22 12:39:42, Michael Starzinger wrote: > LGTM with one final nit. > > https://codereview.chromium.org/23201016/diff/2001/src/runtime.cc ...
7 years, 4 months ago (2013-08-22 12:47:08 UTC) #7
titzer
7 years, 4 months ago (2013-08-22 13:03:49 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 manually as r16273.

Powered by Google App Engine
This is Rietveld 408576698