PA: Upgrade DCHECKs to CHECKs in FreeWithSize, guarded by a Finch flag
Upgrade `PA_DCHECKs` to `PA_CHECKs` within `GetSlotStartAndSlotSpan`.
These stricter checks are active when the Finch feature flag (which is
enabled by default) is active, allowing for investigation of potential
inconsistencies in production. When this Finch flag is active, add a
prefetch for slot_span in `FreeWithSizeNoHooks` to potentially mitigate
performance impact from the added `PA_CHECKs`.
Bug: 410190984
Change-Id: Ibd34674f52e0dbc91c06ebf6b135d0a20f3ef099
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7236054
Reviewed-by: Keishi Hattori <[email protected]>
Reviewed-by: Stephen Nusko <[email protected]>
Commit-Queue: Ayumi Ono <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1556536}
NOKEYCHECK=True
GitOrigin-RevId: 986b8d2d082366e6bb951fa94ccb501d091f0c06
5 files changed