base/allocator: Convert a SpinLock to base::Lock.
The hooks' spinlock in PartitionAlloc is not performance-sensitive, and is likely used as PartitionAlloc used not to rely on base/. Removing it to reduce the use of custom locking (see the attached bug for motivations). Bug: 1061437 Change-Id: Id1d74ac9f108bdc462fd0d5586e89b0be056b67a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2102532 Commit-Queue: Benoit L <lizeb@chromium.org> Reviewed-by:Tom Sepez <tsepez@chromium.org> Reviewed-by:
Chris Palmer <palmer@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#750521}
Showing
Please register or sign in to comment