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

Issue 1830733002: Fix stub frame walking: when materializing the frame content during deoptimization, the stack is no… (Closed)

Created:
4 years, 9 months ago by srdjan
Modified:
4 years, 9 months ago
Reviewers:
rmacnak
CC:
reviews_dartlang.org, vm-dev_dartlang.org, siva
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix stub frame walking: when materializing the frame content during deoptimization, the stack is not yet set up properly (missing code object). This happens when background compiler requires GC. Revert fixes other crashes in stack walk. Revert "Reapply "Remove Code::active_instructions_."" This reverts commit 28846c4bd4ba97e1bce00cf33f700b986a19e4eb. BUG= R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/389dad87f70baf6ae51440ae4d6cb31ed6914132

Patch Set 1 #

Total comments: 2

Patch Set 2 : t #

Patch Set 3 : t #

Patch Set 4 : Remove change to IsStubFrame; pending investigation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -18 lines) Patch
M runtime/vm/object.h View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 chunks +3 lines, -4 lines 0 comments Download
M runtime/vm/raw_object.h View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/raw_object.cc View 2 chunks +1 line, -10 lines 0 comments Download
M runtime/vm/stack_frame.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (3 generated)
srdjan
4 years, 9 months ago (2016-03-23 19:40:39 UTC) #3
rmacnak
lgtm https://codereview.chromium.org/1830733002/diff/1/runtime/vm/stack_frame.cc File runtime/vm/stack_frame.cc (right): https://codereview.chromium.org/1830733002/diff/1/runtime/vm/stack_frame.cc#newcode35 runtime/vm/stack_frame.cc:35: return code.IsStubCode(); assert code not null
4 years, 9 months ago (2016-03-23 19:44:19 UTC) #4
srdjan
https://codereview.chromium.org/1830733002/diff/1/runtime/vm/stack_frame.cc File runtime/vm/stack_frame.cc (right): https://codereview.chromium.org/1830733002/diff/1/runtime/vm/stack_frame.cc#newcode35 runtime/vm/stack_frame.cc:35: return code.IsStubCode(); On 2016/03/23 19:44:19, rmacnak wrote: > assert ...
4 years, 9 months ago (2016-03-23 19:48:23 UTC) #5
srdjan
4 years, 9 months ago (2016-03-23 21:42:58 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
389dad87f70baf6ae51440ae4d6cb31ed6914132 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698