Merge pull request #45 from gnzlbg/jemalloc51

update jemalloc5.1RC1 to jemalloc5.1
This commit is contained in:
Alex Crichton 2018-05-16 15:06:49 -05:00 committed by GitHub
commit be65e24831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 31 deletions

2
.gitmodules vendored
View File

@ -1,4 +1,4 @@
[submodule "jemalloc-sys/jemalloc"]
path = jemalloc-sys/jemalloc
url = https://github.com/jemalloc/jemalloc
branch = dev
branch = master

View File

@ -1 +1 @@
5.0.1-152-gc5b72a92cc40a0f95e13cb3e3bb4fba0f7ef36c3
5.1.0-0-g61efbda7098de6fe64c362d309824864308c36d4

View File

@ -768,6 +768,7 @@ ac_user_opts='
enable_option_checking
with_xslroot
enable_cxx
with_lg_vaddr
with_rpath
enable_autogen
with_mangling
@ -1447,6 +1448,8 @@ Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-xslroot=<path> XSL stylesheet root path
--with-lg-vaddr=<lg-vaddr>
Number of significant virtual address bits
--with-rpath=<rpath> Colon-separated rpath (ELF systems only)
--with-mangling=<map> Mangle symbols in <map>
--with-jemalloc-prefix=<prefix>
@ -6946,22 +6949,34 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
# Check whether --with-lg_vaddr was given.
if test "${with_lg_vaddr+set}" = set; then :
withval=$with_lg_vaddr; LG_VADDR="$with_lg_vaddr"
else
LG_VADDR="detect"
fi
case "${host_cpu}" in
aarch64)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5
if test "x$LG_VADDR" = "xdetect"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5
$as_echo_n "checking number of significant virtual address bits... " >&6; }
if test "x${ac_cv_sizeof_void_p}" = "x4" ; then
#aarch64 ILP32
LG_VADDR=32
else
#aarch64 LP64
LG_VADDR=48
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LG_VADDR" >&5
if test "x${LG_SIZEOF_PTR}" = "x2" ; then
#aarch64 ILP32
LG_VADDR=32
else
#aarch64 LP64
LG_VADDR=48
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LG_VADDR" >&5
$as_echo "$LG_VADDR" >&6; }
fi
;;
x86_64)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5
if test "x$LG_VADDR" = "xdetect"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5
$as_echo_n "checking number of significant virtual address bits... " >&6; }
if ${je_cv_lg_vaddr+:} false; then :
$as_echo_n "(cached) " >&6
@ -7024,32 +7039,35 @@ fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_lg_vaddr" >&5
$as_echo "$je_cv_lg_vaddr" >&6; }
if test "x${je_cv_lg_vaddr}" != "x" ; then
LG_VADDR="${je_cv_lg_vaddr}"
fi
if test "x${LG_VADDR}" != "xerror" ; then
cat >>confdefs.h <<_ACEOF
if test "x${je_cv_lg_vaddr}" != "x" ; then
LG_VADDR="${je_cv_lg_vaddr}"
fi
if test "x${LG_VADDR}" != "xerror" ; then
cat >>confdefs.h <<_ACEOF
#define LG_VADDR $LG_VADDR
_ACEOF
else
as_fn_error $? "cannot determine number of significant virtual address bits" "$LINENO" 5
else
as_fn_error $? "cannot determine number of significant virtual address bits" "$LINENO" 5
fi
fi
;;
*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5
if test "x$LG_VADDR" = "xdetect"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking number of significant virtual address bits" >&5
$as_echo_n "checking number of significant virtual address bits... " >&6; }
if test "x${LG_SIZEOF_PTR}" = "x3" ; then
LG_VADDR=64
elif test "x${LG_SIZEOF_PTR}" = "x2" ; then
LG_VADDR=32
elif test "x${LG_SIZEOF_PTR}" = "xLG_SIZEOF_PTR_WIN" ; then
LG_VADDR="(1U << (LG_SIZEOF_PTR_WIN+3))"
else
as_fn_error $? "Unsupported lg(pointer size): ${LG_SIZEOF_PTR}" "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LG_VADDR" >&5
if test "x${LG_SIZEOF_PTR}" = "x3" ; then
LG_VADDR=64
elif test "x${LG_SIZEOF_PTR}" = "x2" ; then
LG_VADDR=32
elif test "x${LG_SIZEOF_PTR}" = "xLG_SIZEOF_PTR_WIN" ; then
LG_VADDR="(1U << (LG_SIZEOF_PTR_WIN+3))"
else
as_fn_error $? "Unsupported lg(pointer size): ${LG_SIZEOF_PTR}" "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LG_VADDR" >&5
$as_echo "$LG_VADDR" >&6; }
fi
;;
esac
cat >>confdefs.h <<_ACEOF

@ -1 +1 @@
Subproject commit b8f4c730eff28edee4b583ff5b6ee1fac0f26c27
Subproject commit 61efbda7098de6fe64c362d309824864308c36d4