pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/jemalloc jemalloc: update to 4.3.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95e7155e5448
branches:  trunk
changeset: 355851:95e7155e5448
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Dec 13 21:52:22 2016 +0000

description:
jemalloc: update to 4.3.1

from Jonathan Buschmann in PR pkg/51631
ok gson

Changelog :

4.3.1

Bug fixes:

    Fix a severe virtual memory leak. This regression was first released in 4.3.0. (@interwq, @jasone)
    Refactor atomic and prng APIs to restore support for 32-bit platforms that use pre-C11 toolchains, e.g. FreeBSD's mips. (@jasone)

4.3.0

This is the first release that passes the test suite for multiple Windows configurations, thanks in large part to @glandium setting up continuous integration via AppVeyor (and Travis CI for Linux and 
OS X).

New features:

    Add "J" (JSON) support to malloc_stats_print(). (@jasone)
    Add Cray compiler support. (@ronawho)

Optimizations:

    Add/use adaptive spinning for bootstrapping and radix tree node initialization. (@jasone)

Bug fixes:

    Fix large allocation to search starting in the optimal size class heap, which can substantially reduce virtual memory churn and fragmentation. This regression was first released in 4.0.0. 
(@mjp41, @jasone)
    Fix stats.arenas..nthreads accounting. (@interwq)
    Fix and simplify decay-based purging. (@jasone)
    Make DSS (sbrk(2)-related) operations lockless, which resolves potential deadlocks during thread exit. (@jasone)
    Fix over-sized allocation of radix tree leaf nodes. (@mjp41, @ogaun, @jasone)
    Fix over-sized allocation of arena_t (plus associated stats) data structures. (@jasone, @interwq)
    Fix EXTRA_CFLAGS to not affect configuration. (@jasone)
    Fix a Valgrind integration bug. (@ronawho)
    Disallow 0x5a junk filling when running in Valgrind. (@jasone)
    Fix a file descriptor leak on Linux. This regression was first released in 4.2.0. (@vsarunas, @jasone)
    Fix static linking of jemalloc with glibc. (@djwatson)
    Use syscall(2) rather than {open,read,close}(2) during boot on Linux. This works around other libraries' system call wrappers performing reentrant allocation. (@kspinka, @Whissi, @jasone)
    Fix OS X default zone replacement to work with OS X 10.12. (@glandium, @jasone)
    Fix cached memory management to avoid needless commit/decommit operations during purging, which resolves permanent virtual memory map fragmentation issues on Windows. (@mjp41, @jasone)
    Fix TSD fetches to avoid (recursive) allocation. This is relevant to non-TLS and Windows configurations. (@jasone)
    Fix malloc_conf overriding to work on Windows. (@jasone)
    Forcibly disable lazy-lock on Windows (was forcibly enabled). (@jasone)

diffstat:

 devel/jemalloc/Makefile                  |   5 ++---
 devel/jemalloc/distinfo                  |  12 ++++++------
 devel/jemalloc/patches/patch-Makefile.in |  18 +++++++++---------
 3 files changed, 17 insertions(+), 18 deletions(-)

diffs (60 lines):

diff -r c8a091af772a -r 95e7155e5448 devel/jemalloc/Makefile
--- a/devel/jemalloc/Makefile   Tue Dec 13 20:51:42 2016 +0000
+++ b/devel/jemalloc/Makefile   Tue Dec 13 21:52:22 2016 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2016/07/09 06:38:08 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2016/12/13 21:52:22 maya Exp $
 
-DISTNAME=      jemalloc-4.2.1
-PKGREVISION=   1
+DISTNAME=      jemalloc-4.3.1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jemalloc/}
 GITHUB_PROJECT=        jemalloc
diff -r c8a091af772a -r 95e7155e5448 devel/jemalloc/distinfo
--- a/devel/jemalloc/distinfo   Tue Dec 13 20:51:42 2016 +0000
+++ b/devel/jemalloc/distinfo   Tue Dec 13 21:52:22 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2016/07/02 11:00:42 wiz Exp $
+$NetBSD: distinfo,v 1.3 2016/12/13 21:52:22 maya Exp $
 
-SHA1 (jemalloc-4.2.1.tar.bz2) = 2b5c5841c099751c29caef8053e6fa3b99689188
-RMD160 (jemalloc-4.2.1.tar.bz2) = fdd50de876c8e78e14e4c75e54b3ed05b6fba1c0
-SHA512 (jemalloc-4.2.1.tar.bz2) = a0bbf2150371bf31b386c668bc636a56e82145a8a81586d0898cdeed707bf1b694e777ea2afba521584998a60663bb4734e8a83697a337ea13e6ade4de737c18
-Size (jemalloc-4.2.1.tar.bz2) = 431132 bytes
-SHA1 (patch-Makefile.in) = 44329c739b691f977bd672acc337a07e4fa7f4c5
+SHA1 (jemalloc-4.3.1.tar.bz2) = 711dac85ad245ba1503336ed8752e0483998d8a8
+RMD160 (jemalloc-4.3.1.tar.bz2) = 620f1934d98e6dd5feed540b90dd39f08369e1e0
+SHA512 (jemalloc-4.3.1.tar.bz2) = 47170f1c5a3956ed469402c4e6adc158e0a1eb46a54f467b6813c1d3bdf690954fec8c6088042f74cc5ea09781a3abf5675a35a35ac10523ed13d6761320f11c
+Size (jemalloc-4.3.1.tar.bz2) = 438118 bytes
+SHA1 (patch-Makefile.in) = 62e04375dec9aab678fed5bc32559deb942e799f
diff -r c8a091af772a -r 95e7155e5448 devel/jemalloc/patches/patch-Makefile.in
--- a/devel/jemalloc/patches/patch-Makefile.in  Tue Dec 13 20:51:42 2016 +0000
+++ b/devel/jemalloc/patches/patch-Makefile.in  Tue Dec 13 21:52:22 2016 +0000
@@ -1,17 +1,17 @@
-$NetBSD: patch-Makefile.in,v 1.1 2016/02/18 15:51:59 gson Exp $
+$NetBSD: patch-Makefile.in,v 1.2 2016/12/13 21:52:22 maya Exp $
 
 Fix permissions of installed static libraries.
 
---- Makefile.in.orig   2015-10-24 14:56:52.000000000 +0000
-+++ Makefile.in
-@@ -304,8 +304,8 @@ endif
+--- Makefile.in.orig   2016-11-16 22:15:43.000000000 +0100
++++ Makefile.in        2016-11-16 22:17:04.000000000 +0100
+@@ -348,8 +348,8 @@
  install_lib_static: $(STATIC_LIBS)
-       install -d $(LIBDIR)
+       $(INSTALL) -d $(LIBDIR)
        @for l in $(STATIC_LIBS); do \
--      echo "install -m 755 $$l $(LIBDIR)"; \
--      install -m 755 $$l $(LIBDIR); \
-+      echo "install -m 644 $$l $(LIBDIR)"; \
-+      install -m 644 $$l $(LIBDIR); \
+-      echo "$(INSTALL) -m 755 $$l $(LIBDIR)"; \
+-      $(INSTALL) -m 755 $$l $(LIBDIR); \
++      echo "$(INSTALL) -m 644 $$l $(LIBDIR)"; \
++      $(INSTALL) -m 644 $$l $(LIBDIR); \
  done
  
  install_lib_pc: $(PC)



Home | Main Index | Thread Index | Old Index