dart-sdk/runtime
Ryan Macnak c67fac9cb4 [vm] Remove tcmalloc and malloc profiler.
The standalone VM originally began statically linking tcmalloc to work around bugs in the system malloc for Fiber. Later it used tcmalloc's hooks to implement a profiler, but this is rarely used since it is only available in debug mode, misses early allocations, and often misses late allocations from an exhausted sample buffer. Removing it altogether avoids build complexity around which combinations of compiler/architecture/sysroot support tcmalloc, and reduces binary size.

TEST=ci
Change-Id: I4b259e18b82b2d12a2a60962aabf83bd8d997d19
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/286120
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2023-03-03 23:32:12 +00:00
..
bin [vm] Remove tcmalloc and malloc profiler. 2023-03-03 23:32:12 +00:00
docs [dart2js] Static weak references to method tearoffs 2023-03-02 20:04:19 +00:00
include [vm] Fix Dart_CObject_Type breaking change 2023-02-20 11:59:19 +00:00
lib [vm] Avoid a second map lookup when dispatching isolate messages. 2023-02-27 18:08:25 +00:00
observatory [vm] Remove tcmalloc and malloc profiler. 2023-03-03 23:32:12 +00:00
observatory_2 [vm] Remove tcmalloc and malloc profiler. 2023-03-03 23:32:12 +00:00
platform Revert "[VM] Begin supporting Perfetto file recorder" 2023-02-28 12:41:00 +00:00
tests [vm] Remove tcmalloc and malloc profiler. 2023-03-03 23:32:12 +00:00
third_party Spelling pkg analyzer lib 2023-01-25 14:08:27 +00:00
tools [vm] Remove tcmalloc and malloc profiler. 2023-03-03 23:32:12 +00:00
vm [vm] Remove tcmalloc and malloc profiler. 2023-03-03 23:32:12 +00:00
.clang-tidy
.gitignore
BUILD.gn [vm] Remove tcmalloc and malloc profiler. 2023-03-03 23:32:12 +00:00
codereview.settings
configs.gni
CPPLINT.cfg [cpplint] Disable runtime/references lint 2023-01-23 18:21:48 +00:00
OWNERS
PRESUBMIT.py Revert "[VM] Begin supporting Perfetto file recorder" 2023-02-28 12:41:00 +00:00
runtime_args.gni [vm] Remove tcmalloc and malloc profiler. 2023-03-03 23:32:12 +00:00