PartitionAlloc: PCScan: Globalize PCScan
Currently, inter-partition dangling pointers are not covered by PCScan. This fixes it by making PCScan a singleton. The CL also ensures that access to the global object is kept fast, i.e. no double-checked locking (e.g. __cxa_guard_acquire/release) is introduced by the compiler. Bug: 11297512 Change-Id: I07500a974607a30f2ad79c96f8a1e0d2c52bbbd5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2552397 Commit-Queue: Anton Bikineev <bikineev@chromium.org> Reviewed-by:Bartek Nowierski <bartekn@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#831099}
Showing
This diff is collapsed.
Please register or sign in to comment