[PartitionAlloc] Respect alignment constraints on Windows 64 bits.
On Windows 64 bits, alignof(std::max_align_t) is 8, but we need 16 for operator new(). This is not the case on Linux for instance, and in https://chromium-review.googlesource.com/c/chromium/src/+/2219498 we followed the standard for malloc(), but not for operator new. Make sure we respect the more stringent of the two criteria. Bug: 998048 Change-Id: I01f060d710f11adb5fb41dc8d332c1c690c2b508 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2404444 Commit-Queue: Benoit L <lizeb@chromium.org> Reviewed-by:Bartek Nowierski <bartekn@chromium.org> Reviewed-by:
Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#806130}
Showing
Please register or sign in to comment