blink/wtf: Make FastMalloc() malloc() when PartitionAlloc is malloc().
There is no reason to use FastMalloc() when PartitionAlloc is malloc(). Aside from increasing memory usage and heap fragmentation, this reduces the number of pointers allocated out of the GigaCage, which matters for CheckedPtr. To address that, make USING_FAST_MALLOC() a no-op in this case, and redirect the remaining callers of FastMalloc() to malloc(). Bug: 998048 Change-Id: I3bd04570cabc7c8e9d36908013bb1c82a65acddf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2310334 Commit-Queue: Benoit L <lizeb@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Bartek Nowierski <bartekn@chromium.org> Cr-Commit-Position: refs/heads/master@{#829272}
Showing
Please register or sign in to comment