heap: Untangle HeapAllocator object size computation from Oilpan
- Move kMaxHeapObjectSize to HeapAllocator as Oilpan has no internal restrictions on object sizing other than ultimately running OOM. - Size quantization for Oilpan can just return whatever is required to match capacity needs. Internally, sizes may be padded and aligned accordingly. Bug: 1056170 Change-Id: I5c833a2b6cb5354bd24b117406e68fe18e622f71 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2551121Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#829657}
Showing
Please register or sign in to comment