PartitionAlloc: PCScan: Make quarantine limit bounded by heap size.
This also makes PartitionRoot::total_size_of_*_pages atomic. Since there are no side effects around reading/writing them (other than the invariant check), using the relaxed semantics should be safe. Bug: 11297512 Change-Id: Ibeb74484f25ba915a1b31659f3c2d6e13560f83b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2506441Reviewed-by:Benoit L <lizeb@chromium.org> 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/master@{#822658}
Showing
Please register or sign in to comment