[PA] Use the main allocator for aligned allocations with small alignment
Some call sites in Chromium use (for instance) base::AlignedAlloc() with a small-enough alignment to be fulfilled by the normal allocator. For instance, with alignment = sizeof(void*), or 16 on 64 bit architectures. In these cases, we can use the regular allocator directly, which is faster, and can reduce memory fragmentation. Bug: 998048 Change-Id: Idca581c5db744f15fbb34cf3a80caf1f6d941546 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2615058 Commit-Queue: Benoit L <lizeb@chromium.org> Reviewed-by:Bartek Nowierski <bartekn@chromium.org> Cr-Commit-Position: refs/heads/master@{#842002}
Showing
Please register or sign in to comment