mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 22:19:49 +00:00
fc2fcf9bc8
The Scavenge (young-gen) GCs on the main thread have to wait for other threads to check in at a safe point. We were seeing big waits here, often 20ms, occasionally up to 180ms where the main thread is idling, waiting for the optimizing compiler. By adding more safe points the wait is reduced and is now rarely over 10ms, often under 1ms. This also changes the --verbose-gc output to be better aligned with the column headings, and to add the time needed to get to the safe point to the output, eg: [ GC(784211551): Scavenge(new space), 18, 2.209, 76.009, 32768, 0, 32768, 32768, 0, 0, 144912, 154425, 152064, 154880, 0, 0, 46.984, 2.752, 7.407, 18.657, 0.033, 5421, 0, 0, 0, ] ^^^^^^ Scavenge time ^^^^^^ safe point time. R=vegorov@google.com BUG= Review-Url: https://codereview.chromium.org/2771013002 . |
||
---|---|---|
build | ||
client | ||
docs/language | ||
pkg | ||
runtime | ||
samples | ||
samples-dev | ||
sdk | ||
tests | ||
third_party | ||
tools | ||
utils | ||
.clang-format | ||
.gitattributes | ||
.gitignore | ||
.gn | ||
.mailmap | ||
.packages | ||
.travis.yml | ||
AUTHORS | ||
BUILD.gn | ||
CHANGELOG.md | ||
codereview.settings | ||
create_sdk.gyp | ||
dart.gyp | ||
DEPS | ||
LICENSE | ||
PATENTS | ||
PRESUBMIT.py | ||
README.dart-sdk | ||
README.md | ||
WATCHLISTS |
Dart
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Using Dart
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.
Building Dart
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.
Contributing to Dart
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.