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

Issue 2133443002: Don't print variable descriptors by default when printing disassembly. (Closed)

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

Description

Don't print variable descriptors by default when printing disassembly. Since variable descriptors are generated lazily, printing disassembly could trigger re-parsing. This should not hurt in general, but running with --disassemble should not invoke the parser just for printing -- hereby triggering GC or otherwise altering the execution in unexpected ways. BUG=#26441 R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/cbc1d9fc6315889fc94abcacdde3dbd68b419c99

Patch Set 1 #

Patch Set 2 : add test coverage for the new flag #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -27 lines) Patch
M runtime/vm/disassembler.cc View 1 chunk +29 lines, -27 lines 0 comments Download
M runtime/vm/flag_list.h View 1 chunk +2 lines, -0 lines 0 comments Download
M tests/language/disassemble_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Florian Schneider
4 years, 5 months ago (2016-07-07 21:26:05 UTC) #3
rmacnak
lgtm Please add a test analogous to disassemble_test that exercises the new flag.
4 years, 5 months ago (2016-07-08 01:04:18 UTC) #4
Florian Schneider
On 2016/07/08 01:04:18, rmacnak wrote: > lgtm > > Please add a test analogous to ...
4 years, 5 months ago (2016-07-08 17:06:49 UTC) #5
Florian Schneider
4 years, 5 months ago (2016-07-08 17:12:31 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
cbc1d9fc6315889fc94abcacdde3dbd68b419c99 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698