Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: third_party/jemalloc/chromium/jemalloc.c

Issue 10828054: Modify allocator_shim to support _aligned_alloc(), _aligned_free(). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Unit tests. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« base/allocator/win_allocator.cc ('K') | « base/allocator/win_allocator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/jemalloc/chromium/jemalloc.c
diff --git a/third_party/jemalloc/chromium/jemalloc.c b/third_party/jemalloc/chromium/jemalloc.c
index 65eb0b331167f70dff6a462940ff8d2c66cac094..f19ba3bc3998f481f24abaf73a634c15ff0f29c2 100644
--- a/third_party/jemalloc/chromium/jemalloc.c
+++ b/third_party/jemalloc/chromium/jemalloc.c
@@ -6148,6 +6148,7 @@ malloc_shutdown()
#define free(a) je_free(a)
#define _msize(p) je_msize(p)
#define _recalloc(p, n, s) je_recalloc(p, n, s)
+#define memalign(a, s) je_memalign(a, s)
#endif
ZONE_INLINE
« base/allocator/win_allocator.cc ('K') | « base/allocator/win_allocator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698