commit | 3fc6fce1c03328f4201bacfd9f8f6de0cef88376 | [log] [tgz] |
---|---|---|
author | Daniel Andersson <koda@google.com> | Tue Jul 07 17:20:20 2015 -0700 |
committer | Daniel Andersson <koda@google.com> | Tue Jul 07 17:20:20 2015 -0700 |
tree | 15fc2d1d5f3b18a6aa45b04bc4b62ff3dd3875b5 | |
parent | 77c206f2318260d109944567918280e9fbef0dde [diff] |
Safer interface for heap iteration. Address issue 21620, by sharing code to wait for concurrent sweeper to finish, and freeing the caller from this responsibility. The new public interface is Heap::Iterate*, and the old Heap::Visit* are made private, for GC use only. (Eventually, we'll want to support iterating over the heap while concurrent GC runs, but that will have to wait until all header accesss is synchronized.) BUG=21620 R=asiva@google.com Review URL: https://codereview.chromium.org//1212943010 .
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.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.
See LICENSE.