[Partition Alloc] Probabilistically poison memory on free.
We do it unconditionally in DCHECK builds to catch bugs, but let's occasionally do it in release builds too. Frequency is tunable. This is a re-land of https://chromium-review.googlesource.com/c/chromium/src/+/1761578, which was reverted in https://chromium-review.googlesource.com/c/chromium/src/+/1797642. Bug: 984742 TBR: haraken Change-Id: I8f9a36389b2d58f6a11b324b59dd47727e4b91fb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1808181Reviewed-by:Chris Palmer <palmer@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Chris Palmer <palmer@chromium.org> Cr-Commit-Position: refs/heads/master@{#697013}
Showing
Please register or sign in to comment