Accepting request 691510 from devel:libraries:c_c++
- Update to version 5.2.0: OBS-URL: https://build.opensuse.org/request/show/691510 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=29
This commit is contained in:
commit
84f6c66bff
9
disable-test_prof_log_many_traces-test.patch
Normal file
9
disable-test_prof_log_many_traces-test.patch
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
--- jemalloc-5.2.0/test/unit/prof_log.c 2019-04-03 02:51:39.000000000 +0200
|
||||||
|
+++ jemalloc-5.2.0/test/unit/prof_log.c.new 2019-04-04 11:42:22.371447078 +0200
|
||||||
|
@@ -141,6 +141,5 @@
|
||||||
|
prof_log_dummy_set(true);
|
||||||
|
return test_no_reentrancy(
|
||||||
|
test_prof_log_many_logs,
|
||||||
|
- test_prof_log_many_traces,
|
||||||
|
test_prof_log_many_threads);
|
||||||
|
}
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5396e61cc6103ac393136c309fae09e44d74743c86f90e266948c50f3dbb7268
|
|
||||||
size 515622
|
|
3
jemalloc-5.2.0.tar.bz2
Normal file
3
jemalloc-5.2.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:74be9f44a60d2a99398e706baa921e4efde82bf8fd16e5c0643c375c5851e3b4
|
||||||
|
size 543892
|
@ -1,3 +1,64 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 4 11:20:31 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Drop static library package, nothing seems to use it.
|
||||||
|
- Remove openSUSE 11.1 build support.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 4 09:44:44 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
- Add disable-test_prof_log_many_traces-test.patch in order
|
||||||
|
to workaround https://github.com/jemalloc/jemalloc/issues/1477.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 3 08:35:44 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
- Update to version 5.2.0:
|
||||||
|
* New features:
|
||||||
|
* Implement oversize_threshold, which uses a dedicated arena
|
||||||
|
for allocations crossing the specified threshold to reduce
|
||||||
|
fragmentation.
|
||||||
|
* Add extents usage information to stats.
|
||||||
|
* Log time information for sampled allocations.
|
||||||
|
* Support 0 size in sdallocx.
|
||||||
|
* Output rate for certain counters in malloc_stats.
|
||||||
|
* Add mallctl interfaces:
|
||||||
|
* opt.oversize_threshold
|
||||||
|
* stats.arenas.<i>.extent_avail
|
||||||
|
* stats.arenas.<i>.extents.<j>.n{dirty,muzzy,retained}
|
||||||
|
* stats.arenas.<i>.extents.<j>.{dirty,muzzy,retained}_bytes
|
||||||
|
* Optimizations and refactors:
|
||||||
|
* Refactor the TSD module.
|
||||||
|
* Implement opt.oversize_threshold which uses a dedicated arena
|
||||||
|
for requests crossing the threshold, also eagerly purges the
|
||||||
|
oversize extents. Default the threshold to 8 MiB.
|
||||||
|
* Improve error handling for THP state initialization.
|
||||||
|
* Refactor and optimize the tcache fill / flush paths.
|
||||||
|
* Optimize sync / lwsync on PowerPC.
|
||||||
|
* Bypass extent_dalloc() when retain is enabled.
|
||||||
|
* Lower the default number of background threads to 4 (when the
|
||||||
|
feature is enabled).
|
||||||
|
* Use arena index for arena-matching checks.
|
||||||
|
* Avoid forced decay on thread termination when using
|
||||||
|
background threads.
|
||||||
|
* Disable muzzy decay by default.
|
||||||
|
* Only initialize libgcc unwinder when profiling is enabled.
|
||||||
|
* Bug fixes:
|
||||||
|
* Fix background thread index issues with max_background_threads.
|
||||||
|
* Fix stats output for opt.lg_extent_max_active_fit.
|
||||||
|
* Properly trigger decay on tcache destroy.
|
||||||
|
* Detect whether explicit extent zero out is necessary with
|
||||||
|
huge pages or custom extent hooks, which may change the purge
|
||||||
|
semantics.
|
||||||
|
* Fix a side effect caused by extent_max_active_fit combined
|
||||||
|
with decay-based purging, where freed extents can accumulate
|
||||||
|
and not be reused for an extended period of time.
|
||||||
|
* Fix a missing unlock on extent register error handling.
|
||||||
|
* Incompatible changes:
|
||||||
|
* Remove --with-lg-page-sizes.
|
||||||
|
|
||||||
|
- Change URL of the project.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 30 15:44:20 UTC 2018 - Michel Normand <normand@linux.vnet.ibm.com>
|
Tue Oct 30 15:44:20 UTC 2018 - Michel Normand <normand@linux.vnet.ibm.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package jemalloc
|
# spec file for package jemalloc
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,21 +18,18 @@
|
|||||||
|
|
||||||
%define lname libjemalloc2
|
%define lname libjemalloc2
|
||||||
Name: jemalloc
|
Name: jemalloc
|
||||||
Version: 5.1.0
|
Version: 5.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: General-purpose scalable concurrent malloc implementation
|
Summary: General-purpose scalable concurrent malloc implementation
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://canonware.com/jemalloc/
|
URL: http://jemalloc.net/
|
||||||
Source: https://github.com/jemalloc/jemalloc/releases/download/%{version}/jemalloc-%{version}.tar.bz2
|
Source: https://github.com/jemalloc/jemalloc/releases/download/%version/jemalloc-%version.tar.bz2
|
||||||
|
Patch0: disable-test_prof_log_many_traces-test.patch
|
||||||
BuildRequires: docbook-xsl-stylesheets
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
Requires: %lname = %version
|
Requires: %lname = %version
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%if 0%{?suse_version} == 1110
|
|
||||||
BuildRequires: gcc48
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
jemalloc is a general-purpose scalable concurrent malloc(3) implementation.
|
jemalloc is a general-purpose scalable concurrent malloc(3) implementation.
|
||||||
@ -55,32 +52,13 @@ Requires: %lname = %version
|
|||||||
Headers for jemalloc, general-purpose scalable concurrent malloc(3)
|
Headers for jemalloc, general-purpose scalable concurrent malloc(3)
|
||||||
implementation.
|
implementation.
|
||||||
|
|
||||||
%package devel-static
|
|
||||||
Summary: Static libraries for jemalloc
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: %name-devel = %version
|
|
||||||
|
|
||||||
%description devel-static
|
|
||||||
Static libraries of jemalloc, general-purpose scalable concurrent
|
|
||||||
malloc(3) implementation.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export EXTRA_CFLAGS="%optflags -std=gnu99"
|
export EXTRA_CFLAGS="%optflags -std=gnu99"
|
||||||
%if 0%{?suse_version} == 1110
|
%configure --disable-static \
|
||||||
if [ -f "%_bindir/gcc-4.6" ]; then
|
|
||||||
export CC=gcc-4.6
|
|
||||||
fi
|
|
||||||
if [ -f "%_bindir/gcc-4.7" ]; then
|
|
||||||
export CC=gcc-4.7
|
|
||||||
fi
|
|
||||||
if [ -f "%_bindir/gcc-4.8" ]; then
|
|
||||||
export CC=gcc-4.8
|
|
||||||
fi
|
|
||||||
%endif
|
|
||||||
%configure \
|
|
||||||
%ifarch %arm
|
%ifarch %arm
|
||||||
--disable-thp \
|
--disable-thp \
|
||||||
--disable-prof
|
--disable-prof
|
||||||
@ -96,8 +74,7 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
make install DESTDIR="$b"
|
%make_install
|
||||||
chmod -x "%buildroot/%_libdir"/*.a
|
|
||||||
if [ "%_docdir" != "%_datadir/doc" ]; then
|
if [ "%_docdir" != "%_datadir/doc" ]; then
|
||||||
# Makefile apparently ignored the --docdir in %%configure
|
# Makefile apparently ignored the --docdir in %%configure
|
||||||
mkdir -p "$b/%_docdir"
|
mkdir -p "$b/%_docdir"
|
||||||
@ -130,8 +107,4 @@ make %{?_smp_mflags} check
|
|||||||
%_libdir/libjemalloc.so
|
%_libdir/libjemalloc.so
|
||||||
%_libdir/pkgconfig/jemalloc.pc
|
%_libdir/pkgconfig/jemalloc.pc
|
||||||
|
|
||||||
%files devel-static
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%_libdir/libjemalloc*.a
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user