Skip to content

Commit

Permalink
Bug 963028 - AArch64 support for jemalloc. r=froydnj
Browse files Browse the repository at this point in the history
  • Loading branch information
hrw committed Jan 23, 2014
1 parent 5faf75c commit 51594f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ static const bool config_ivsalloc =
# ifdef __tile__
# define LG_QUANTUM 4
# endif
# ifdef __aarch64__
# define LG_QUANTUM 4
# endif
# ifndef LG_QUANTUM
# error "No LG_QUANTUM definition for architecture; specify via CPPFLAGS"
# endif
Expand Down
2 changes: 1 addition & 1 deletion memory/mozjemalloc/jemalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ static unsigned ncpus;
#if (defined(SOLARIS) || defined(__FreeBSD__)) && \
(defined(__sparc) || defined(__sparcv9) || defined(__ia64))
#define pagesize_2pow ((size_t) 13)
#elif defined(__powerpc64__)
#elif defined(__powerpc64__) || defined(__aarch64__)
#define pagesize_2pow ((size_t) 16)
#else
#define pagesize_2pow ((size_t) 12)
Expand Down

0 comments on commit 51594f1

Please sign in to comment.