mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 14:32:24 +00:00
d1ecf01f71
This is done through a synchronized cache between the server and client. When serializing a remote instance, if the server has already serialized that object then it will only send the ID in the future. These caches currently only live as long as a single macro application in a given phase, but could live longer in the future. They do need to get reliably cleared out to avoid memory leaks though, and the shorter lifetime is easier to manage consistently. This also allowed me to remove the specialized server/client modes (clients would always only send back IDs previously). Change-Id: I4e8a102403153829d66b0ac379636f5a95a70cea Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/311420 Commit-Queue: Jake Macdonald <jakemac@google.com> Reviewed-by: Bob Nystrom <rnystrom@google.com> |
||
---|---|---|
.. | ||
benchmark | ||
lib/src | ||
test | ||
tool | ||
analysis_options.yaml | ||
analysis_options_no_lints.yaml | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
pubspec.yaml | ||
README.md |
FE/analyzer shared code
This package contains logic that is shared between the front_end and analyzer packages. It is intended solely to facilitate development of the Dart SDK, and is not intended for use by end users. In particular, this package has no public API, so no guarantee is made of compatibility between one version of the package and the next.
End users should consider using the analyzer package to analyze Dart source code.