commit | f015604a6e5c922bd43e88b4fb6d2bcd9277a969 | [log] [tgz] |
---|---|---|
author | Anton Bikineev <bikineev@chromium.org> | Thu Sep 29 19:19:41 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 29 19:19:41 2022 |
tree | 83f75fac4a1aa64ee83ccd02802442132452a22f | |
parent | 8e66a9dc7d24b8f7d66aac2ef2a02d0b7f31b49c [diff] |
blink: Minimize padding in GCed types Now that pointer compression shipped, padding in some Blink classes could increase. This CL takes 20 of the most frequently allocated GCed types (gathered from speedometer2, cnn:2021 and facebook_infinite_scroll:2018 browsing stories) and minimizes extra padding in them by reordering some fields. In some places, it also specifies the underlying type for enums if it helps to reduce the size further. For more detailed methodology, see the design doc. Design doc: https://bit.ly/3Srx6rC Bug: 1369112 Change-Id: I387f3eba3635a336141c3705cd729a13c61a3ab9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3929025 Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Anton Bikineev <bikineev@chromium.org> Cr-Commit-Position: refs/heads/main@{#1053138}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.