diff options
author | Mike Hommey <mh@glandium.org> | 2012-04-30 10:38:29 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2012-05-01 00:57:31 (GMT) |
commit | da99e31105eb709ef4ec8a120b115c32a6b9723a (patch) | |
tree | 64e40c341b6360ab618d4403a9050d1f3310503f /src/arena.c | |
parent | 7cdea3973cab8640d1f44c7638ed5e30ed18be24 (diff) | |
download | jemalloc-da99e31105eb709ef4ec8a120b115c32a6b9723a.zip jemalloc-da99e31105eb709ef4ec8a120b115c32a6b9723a.tar.gz jemalloc-da99e31105eb709ef4ec8a120b115c32a6b9723a.tar.bz2 |
Replace JEMALLOC_ATTR with various different macros when it makes sense
Theses newly added macros will be used to implement the equivalent under
MSVC. Also, move the definitions to headers, where they make more sense,
and for some, are even more useful there (e.g. malloc).
Diffstat (limited to 'src/arena.c')
-rw-r--r-- | src/arena.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arena.c b/src/arena.c index 7fac361..51c268c 100644 --- a/src/arena.c +++ b/src/arena.c @@ -7,7 +7,7 @@ ssize_t opt_lg_dirty_mult = LG_DIRTY_MULT_DEFAULT; arena_bin_info_t arena_bin_info[NBINS]; -JEMALLOC_ATTR(aligned(CACHELINE)) +JEMALLOC_ALIGNED(CACHELINE) const uint8_t small_size2bin[] = { #define S2B_8(i) i, #define S2B_16(i) S2B_8(i) S2B_8(i) |