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

Issue 2931813002: [kernel] Stream kernel_reader (Closed)

Created:
3 years, 6 months ago by jensj
Modified:
3 years, 6 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[kernel] Stream kernel_reader Mostly stream kernel_reader, i.e. the code that sets up the libraries, classes, methods etc. Mostly because it still takes a "Program" ast node, and looks at the "Library" ast nodes to get their kernel offset in the binary. Currently the scripts (containing breakable points etc) are also created from the ast nodes. The rest is now streamed. This also means that more ast visitors could be deleted. R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/80860e7fb752dd8fedbe6dd13336b30f7ff35764

Patch Set 1 #

Patch Set 2 : Libraries now, apparently, has annotations, dependencies and combinators #

Total comments: 1

Patch Set 3 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+471 lines, -1318 lines) Patch
M pkg/kernel/binary.md View 1 1 chunk +4 lines, -3 lines 0 comments Download
M pkg/kernel/lib/binary/ast_from_binary.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M pkg/kernel/lib/binary/ast_to_binary.dart View 1 2 chunks +7 lines, -1 line 0 comments Download
M runtime/vm/bootstrap.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/bootstrap_nocore.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/kernel.h View 1 54 chunks +0 lines, -250 lines 0 comments Download
M runtime/vm/kernel.cc View 1 3 chunks +0 lines, -249 lines 0 comments Download
M runtime/vm/kernel_binary.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/kernel_binary_flowgraph.h View 1 4 chunks +11 lines, -0 lines 0 comments Download
M runtime/vm/kernel_binary_flowgraph.cc View 1 2 13 chunks +31 lines, -44 lines 0 comments Download
M runtime/vm/kernel_reader.h View 1 2 6 chunks +12 lines, -17 lines 0 comments Download
M runtime/vm/kernel_reader.cc View 1 2 16 chunks +389 lines, -286 lines 0 comments Download
M runtime/vm/kernel_to_il.h View 1 8 chunks +1 line, -147 lines 0 comments Download
M runtime/vm/kernel_to_il.cc View 1 4 chunks +9 lines, -317 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 5 (2 generated)
jensj
Notice that this changes the binary format slightly.
3 years, 6 months ago (2017-06-08 11:19:23 UTC) #2
Kevin Millikin (Google)
LGTM. https://codereview.chromium.org/2931813002/diff/20001/runtime/vm/kernel_reader.cc File runtime/vm/kernel_reader.cc (right): https://codereview.chromium.org/2931813002/diff/20001/runtime/vm/kernel_reader.cc#newcode256 runtime/vm/kernel_reader.cc:256: intptr_t num_annotations = builder_.ReadUInt(); // read list length. ...
3 years, 6 months ago (2017-06-21 09:10:41 UTC) #3
jensj
3 years, 6 months ago (2017-06-21 12:59:04 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
80860e7fb752dd8fedbe6dd13336b30f7ff35764 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698