commit | 8bc1f373872a26f92f86fde5d8cf566a0e30fdd2 | [log] [tgz] |
---|---|---|
author | Chris Drouillard <cdrllrd@fuchsia.infra.roller.google.com> | Thu May 15 16:45:08 2025 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu May 15 16:46:28 2025 -0700 |
tree | 0dcdb0edb3f63b719cce8309a0f06560c34592e9 | |
parent | c0598d28e3d253fad898b60b6394e2c42e3ae003 [diff] |
[roll] Roll fuchsia [components][moniker] Reduce memory usage Replace Vec<ChildName> with Arc<[ChildName]> to make monikers cheaper to clone. Looking at a heapdump of component manager shows that there are a significant number of clones of Monikers. The ChildNames inside of Moniker are cheap to clone but the Vec is not. Replacing the Vec with an Arc removes the allocation from every clone. This has the downside of making Monikers immutable but Monikers are cloned way more than they are mutated. This saves ~2.6MiB on android builds. Original-Bug: 414632557 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1262564 Original-Revision: cb292a12815668beb6ddb42f2b5b4f5cd34ec5a1 GitOrigin-RevId: cd032a435c84f03d07b775fcb75d2f0fe65a0301 Change-Id: I16b1b57c93d9b786a5bff843ba4d21e898bfe6d3
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.