Find a file
Martin Kustermann 742612ddac [vm] Add Isolate::{Enter,Exit}AsNonMutator() APIs, use in sweeper
The sweeper threads are bypassing safepoints and have no need for normal
mutator state (e.g. storebuffer, marking stacks, .,..) on the [Thread]
object.

This fixes a TSAN report where sweeper would clear reusable handles
(which it didn't actually modify) and scavenger is reading those
handles (which arguably it doesn't have to either).

Issue https://github.com/dart-lang/sdk/issues/52125

TEST=ci

Change-Id: I03a36e8518b6c00eb7f3b57f65fd469dddba23e0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/296860
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Slava Egorov <vegorov@google.com>
2023-04-21 11:23:47 +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 - migrate sound_splay_tree.dart to null safety 2023-04-05 15:57:33 +00:00
build add tools for generating shim headers 2023-04-19 01:37:48 +00:00
docs
pkg Make the static error updater gracefully skip multitests. 2023-04-21 04:17:27 +00:00
runtime [vm] Add Isolate::{Enter,Exit}AsNonMutator() APIs, use in sweeper 2023-04-21 11:23:47 +00:00
samples [test] Introduce status variable $simulator, and fix some cases missing simarm_x64. 2023-04-04 03:10:26 +00:00
sdk [dart2js] Rename dart:_async_await_error_codes -> dart:_async_status_codes 2023-04-21 00:01:51 +00:00
tests [gardening] Update status files after starting to run tests in obfucated/dwarf nnbd mode 2023-04-21 10:13:57 +00:00
third_party [pkgs/native] MacOS support + CI 2023-04-20 14:17:39 +00:00
tools [infra] Remove configurations for legacy obfuscate and stripped modes. 2023-04-20 19:11:06 +00:00
utils Remove code which no longer compiles. 2023-04-03 23:40:05 +00:00
.clang-format
.gitattributes
.gitconfig
.gitignore
.gn
.mailmap
.style.yapf
.vpython
AUTHORS
BUILD.gn Roll Fuchsia SDK to 7b3b23b2c0da59b3aceab6c49fbe7d9ed34d7382. 2023-02-09 22:43:36 +00:00
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 Fix README.dart-sdk file to reflect current contents of the SDK 2023-02-02 03:10:09 +00:00
README.md
sdk_args.gni
SECURITY.md
WATCHLISTS Add a watchlist entry for changes to _fe_analyzer_shared 2023-03-31 13:59:27 +00:00

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.