Find a file
Ryan Macnak 29472dbb73 [vm, gc] Avoid race between unregistering pages with LSAN and exit.
After the Page is unregistered, the only reference to its VirtualMemory is in memory not traced by LSAN. If exit happens here before the VirtualMemory is deleted or put into the global cache, it appears to be leaked.

TEST=lsan
Bug: https://github.com/dart-lang/sdk/issues/51560
Change-Id: I973e09bb19910d9cdcc3af6c8c9a188f095df36a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/297040
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2023-04-21 19:32:40 +00:00
.dart_tool
.github Bump github/codeql-action from 2.2.11 to 2.2.12 2023-04-18 08:20:48 +00:00
benchmarks
build add tools for generating shim headers 2023-04-19 01:37:48 +00:00
docs
pkg Support for pattern variables in RemoveUnusedLocalVariable. 2023-04-21 19:18:59 +00:00
runtime [vm, gc] Avoid race between unregistering pages with LSAN and exit. 2023-04-21 19:32:40 +00:00
samples
sdk [dart2js] Rename dart:_async_await_error_codes -> dart:_async_status_codes 2023-04-21 00:01:51 +00:00
tests [vm/compiler] Support obfuscation of record field names 2023-04-21 15:14:58 +00:00
third_party [pkgs/native] MacOS support + CI 2023-04-20 14:17:39 +00:00
tools Checked in SDKs are now automatically uploaded. 2023-04-21 13:57:15 +00:00
utils
.clang-format
.gitattributes
.gitconfig
.gitignore
.gn
.mailmap
.style.yapf
.vpython
AUTHORS
BUILD.gn
CHANGELOG.md Reland "[ Observatory ] Disable serving Observatory by default" 2023-04-20 18:16:09 +00:00
codereview.settings
CONTRIBUTING.md
DEPS Bump pub to 21eb39e148c720ab8577bbf3bf089556a113eb10 2023-04-21 09:58:38 +00:00
LICENSE
OWNERS
PATENT_GRANT
PRESUBMIT.py
README.dart-sdk
README.md
sdk_args.gni
SECURITY.md
WATCHLISTS

Dart

A client-optimized language for fast apps on any platform

Dart is:

  • Optimized for UI: Develop with a programming language specialized around the needs of user interface creation.

  • Productive: Make changes iteratively: use hot reload to see the result instantly in your running app.

  • Fast on all platforms: Compile to ARM & x64 machine code for mobile, desktop, and backend. Or compile to JavaScript for the web.

Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:

  • Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.

  • Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).

Dart platforms illustration

License & patents

Dart is free and open source.

See LICENSE and PATENT_GRANT.

Using Dart

Visit dart.dev to learn more about the language, tools, and to find codelabs.

Browse pub.dev for more packages and libraries contributed by the community and the Dart team.

Our API reference documentation is published at api.dart.dev, based on the stable release. (We also publish docs from our beta and dev channels, as well as from the primary development branch).

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.