mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
d7c4757af3
moz_posix_memalign is a wrapper for posix_memalign that only exists if posix_memalign exists. On OSX, it has a fallback for an under-specified bug where it purportedly returns a pointer that doesn't have the requested alignment. That fallback was added in bug 414946, over 6 years ago, before jemalloc was even enabled on OSX. Considering posix_memalign is used directly in many other places in Gecko, that we almost always use mozjemalloc, which doesn't have these problems, and that in all likeliness, the bug was in some old version of OSX that is not supported anymore, the fallback does not seem all that useful. So, just use posix_memalign directly. --HG-- extra : rebase_source : b2151b5fb598dc20cbd70308555059f7545b18b2 |
||
---|---|---|
.. | ||
tests | ||
moz.build | ||
VolatileBuffer.h | ||
VolatileBufferAshmem.cpp | ||
VolatileBufferFallback.cpp | ||
VolatileBufferOSX.cpp | ||
VolatileBufferWindows.cpp |