dart-sdk/runtime
Martin Kustermann 31dd6683f8 [VM] Optimize performance of dart_boostrap in debug-kernel-strong mode.
Since the kernel reading helpers have been extended to not only work
with a kernel blob in C heap, but also work based on a [TypedData]
buffer in the VM heap, access to the [TypedData] buffer is on the hot
path now.

This hot path is slowing things down considerably, in particular due
to NoSafepoingScope's.

This CL removes a critical NoSafepoingScope when accessing the
[TypedData] in read-only mode.  It also allows passing in the [Thread]
directly, to avoid TLS lookups.

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

Change-Id: I91955bea5cd4eddbbd21c5d3bc6813504c2cece9
Reviewed-on: https://dart-review.googlesource.com/47222
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2018-03-21 10:24:29 +00:00
..
bin [vm] Fix several kernel-specific memory leaks. 2018-03-20 23:23:49 +00:00
include [vm] Move writing snapshot magic value from embedder to VM. 2018-03-19 17:47:55 +00:00
lib Fix bug in BigInt.from with certain double values. 2018-03-19 17:46:35 +00:00
observatory [vm] Add a timeline stream for recording the zone high watermark. 2018-03-16 17:43:27 +00:00
platform [VM] Optimize performance of dart_boostrap in debug-kernel-strong mode. 2018-03-21 10:24:29 +00:00
tests/vm [vm] Do not assign type to phi if it was loaded from a different local 2018-03-20 23:08:49 +00:00
third_party
tools Read patch files in strong mode 2018-02-05 14:35:36 +00:00
vm [VM] Optimize performance of dart_boostrap in debug-kernel-strong mode. 2018-03-21 10:24:29 +00:00
.gitignore
BUILD.gn Revert "[build] Declare dependency of the version strings on the current Git commit." 2018-03-10 00:39:50 +00:00
codereview.settings
CPPLINT.cfg
PRESUBMIT.py
runtime_args.gni [infra,flutter] Adds semantically meaningful custom version strings 2018-02-16 20:44:48 +00:00