commit | 6fc0c1fa4fbe369d79b31d8b7b3446470296c319 | [log] [tgz] |
---|---|---|
author | Samir Jindel <sjindel@google.com> | Thu May 24 13:14:29 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Thu May 24 13:14:29 2018 +0000 |
tree | 17db53748e8b0a390f21b415f35116d790a580d2 | |
parent | 735f7bdcec530056fa4a8cb6754c3917f950a114 [diff] |
[vm/kernel] Only create zone handles when necessary (e.g. in IR instructions, LocalVariable). Summary: When evaluating constants for direct inspection (and not for injection into the FG), we store many intermediate values in ZoneHandles. This leaks memory, since the only need for ZoneHandles is preserving constants which are referenced by the FG. Test Plan: Existing coverage is sufficient since no functionality is changed. Change-Id: I33951eab762a4ad626f07ebf11118247c5a9ad3e Reviewed-on: https://dart-review.googlesource.com/56345 Commit-Queue: Samir Jindel <sjindel@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.