commit | fd3b366822d36a0a203d51901336366e7ac5b287 | [log] [tgz] |
---|---|---|
author | Kent Tamura <tkent@chromium.org> | Wed Jun 20 02:25:08 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 20 02:25:08 2018 |
tree | bef4c3dde34cdc035bf0a2d4d7a01695d5fb38b2 | |
parent | b88711d9d386bbf910b2a815640ada0e6dad35b3 [diff] |
Reland: Oilpan: Reduce the size of heap_page.h. heap_page.h is used in 6,000+ compilation units, and this CL reduces its estimated expanded size from 1.72MB to 1.40MB. This CL relands https://chromium-review.googlesource.com/1104080 . With the original code, GetRandomMagic() was folded into GetMagic(), and GetMagic() was not folded into IsValid(). With https://chromium-review.googlesource.com/1104080, ComputeRandomMagic() was not folded into GetMagic(), and GeMagic() and IsValid() were folded into IsValid() callsites. So the binary size increased. With this CL, GetMagic() isn't folded into IsValid() like the original code. So this CL won't increase the binary size, and should not have performance regression. Bug: 242216 Change-Id: I7b6cf78a454abbbf3a3e41d821ac23e208b6dbdb Reviewed-on: https://chromium-review.googlesource.com/1105208 Reviewed-by: Keishi Hattori <keishi@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#568696}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .