commit | 80504c8ffedfa0a1896d37a093cb3814783b2ce3 | [log] [tgz] |
---|---|---|
author | Vyacheslav Egorov <vegorov@google.com> | Thu Sep 03 13:31:14 2020 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Thu Sep 03 13:31:14 2020 +0000 |
tree | 11869c521a97cc3915942d17052e0dc689ff8aab | |
parent | 90652bc314c12865c258ddda580493e1db173a20 [diff] |
[vm_snapshot_analysis] Fix issues with artificial nodes This CL addresses two problems, which only reveal themselves when analysing snapshots produced when function dropping is enabled. When tests for snapshot analysis were written functions were dropped in PRODUCT build by default - by currently this functionality needs to be enabled separately or is automatically enabled when DWARF stack traces are enabled. This CL changes test suite to enable DWARF stack traces. * When constructing ProgramInfo from V8 snapshot profile we should not assume that Function nodes have any fields outside of owner_, because Function node might be artificial and thus have no real fields except for owner link. * When writing V8 snapshot profile we should take care not to call CreateArtificalNodeIfNeeded inside TraceStartWritingObject scope, because CreateArtificalNodeIfNeeded might itself call TraceStartWritingObject and these calls don't nest, the second one overwrites the first one. R=sstrickl@google.com Bug: b/167601345 Change-Id: I40879ee087c38992388776af58b81bbefd147631 Cq-Include-Trybots: luci.dart.try:pkg-linux-release-try,pkg-win-release-try,pkg-mac-release-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161703 Reviewed-by: Tess Strickland <sstrickl@google.com> Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
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 is free and open source.
See LICENSE and PATENT_GRANT.
Visit dart.dev to learn more about the language, tools, getting started, and more.
Browse pub.dev 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.