gecko-dev/memory/volatile
Mike Hommey d7c4757af3 Bug 1423107 - Replace uses of moz_posix_memalign with posix_memalign. r=njn
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
2017-12-05 16:46:17 +09:00
..
tests Bug 1382099 - Remove MOZ_WIDGET_GONK from memory/. r=glandium. 2017-07-19 18:39:00 +10:00
VolatileBuffer.h
VolatileBufferAshmem.cpp
VolatileBufferFallback.cpp Bug 1423107 - Replace uses of moz_posix_memalign with posix_memalign. r=njn 2017-12-05 16:46:17 +09:00
VolatileBufferOSX.cpp Bug 1423107 - Replace uses of moz_posix_memalign with posix_memalign. r=njn 2017-12-05 16:46:17 +09:00
VolatileBufferWindows.cpp Bug 1392594 Make variable DebugOnly to address unused variable warning r=glandium 2017-08-24 22:55:35 -05:00
moz.build Bug 1386876 - Replace all uses of NO_VISIBILITY_FLAGS with a template and remove NO_VISIBILITY_FLAGS. r=glandium 2017-05-01 18:12:35 -07:00