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

Issue 2707413002: Fix causal_async_star_stack_contents_test with optimization-counter-threshold=5 (Closed)

Created:
3 years, 10 months ago by Cutch
Modified:
3 years, 10 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, turnidge, rmacnak, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix causal_async_star_stack_contents_test with optimization-counter-threshold=5 There was an off by one error when generating the causal async stack trace in the debugger. We were always adding one more frame pass the sentinel frame. This frame is always _Closure.call which is filtered out by the debugger already. However when --optimization-counter-threshold=5, _Closure.call was inlined and we ended up appending the inliner to the stack trace. The inliner is not filtered out by the debugger so we got an extra frame in the stack trace. Fixes #28861 BUG= R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/6a312d429b3b554b7b2281c7c140bc0dca40bc76

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -1 line) Patch
M runtime/observatory/lib/src/service/object.dart View 2 chunks +19 lines, -0 lines 0 comments Download
M runtime/observatory/tests/service/causal_async_star_stack_contents_test.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/debugger.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (3 generated)
Cutch
3 years, 10 months ago (2017-02-23 01:00:50 UTC) #3
Florian Schneider
lgtm
3 years, 10 months ago (2017-02-23 20:39:50 UTC) #4
Cutch
3 years, 10 months ago (2017-02-24 14:58:46 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
6a312d429b3b554b7b2281c7c140bc0dca40bc76 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698