New upstream release 2.1.0. From the upstream changelog:
This version incorporates some optimizations that can't quite be considered bug fixes. New features: - Use Linux's mremap(2) for huge object reallocation when possible. - Avoid locking in mallctl*() when possible. - Add the "thread.[de]allocatedp" mallctl's. - Convert the manual page source from roff to DocBook, and generate both roff and HTML manuals. Bug fixes: - Fix a crash due to incorrect bootstrap ordering. This only impacted --enable-debug --enable-dss configurations. - Fix a minor statistics bug for mallctl("swap.avail", ...).
This commit is contained in:
parent
8b852738a1
commit
bf4700ae58
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/jemalloc-2.0.1.tar.bz2
|
||||
/jemalloc-2.1.0.tar.bz2
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- Makefile.in.orig 2010-11-18 10:58:56.977574922 +0100
|
||||
+++ Makefile.in 2010-11-18 10:59:32.307037415 +0100
|
||||
@@ -41,7 +41,6 @@
|
||||
--- Makefile.in.orig 2010-12-04 02:05:01.000000000 +0100
|
||||
+++ Makefile.in 2011-01-05 23:13:32.000000000 +0100
|
||||
@@ -42,7 +42,6 @@
|
||||
endif
|
||||
|
||||
# Lists of files.
|
||||
@ -8,7 +8,7 @@
|
||||
CHDRS := @objroot@include/jemalloc/jemalloc@install_suffix@.h \
|
||||
@objroot@include/jemalloc/jemalloc_defs@install_suffix@.h
|
||||
CSRCS := @srcroot@src/jemalloc.c @srcroot@src/arena.c @srcroot@src/base.c \
|
||||
@@ -103,13 +102,6 @@
|
||||
@@ -123,13 +122,6 @@
|
||||
$(CC) -o $@ $< -L@objroot@lib -ljemalloc@install_suffix@
|
||||
endif
|
||||
|
||||
@ -22,12 +22,3 @@
|
||||
install_include:
|
||||
install -d $(INCLUDEDIR)/jemalloc
|
||||
@for h in $(CHDRS); do \
|
||||
@@ -130,7 +122,7 @@
|
||||
install -m 644 $$m $(MANDIR)/man3; \
|
||||
done
|
||||
|
||||
-install: install_bin install_include install_lib install_man
|
||||
+install: install_include install_lib install_man
|
||||
|
||||
tests: $(CTESTS:@srcroot@%.c=@objroot@%)
|
||||
|
@ -1,7 +1,7 @@
|
||||
Name: jemalloc
|
||||
Version: 2.0.1
|
||||
Version: 2.1.0
|
||||
|
||||
Release: 3%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: General-purpose scalable concurrent malloc implementation
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -11,10 +11,12 @@ Source0: http://www.canonware.com/download/jemalloc/%{name}-%{version}.ta
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
# Remove pprof, as it already exists in google-perftools
|
||||
Patch0: jemalloc-2.0.1.no_pprof.patch
|
||||
Patch0: jemalloc-2.1.0.no_pprof.patch
|
||||
# check for __s390__ as it's defined on both s390 and s390x
|
||||
Patch1: jemalloc-2.0.1-s390.patch
|
||||
|
||||
BuildRequires: /usr/bin/xsltproc
|
||||
|
||||
%description
|
||||
General-purpose scalable concurrent malloc(3) implementation.
|
||||
This distribution is the stand-alone "portable" implementation of %{name}.
|
||||
@ -34,6 +36,8 @@ developing applications that use %{name}.
|
||||
%patch1 -p1 -b .s390
|
||||
|
||||
%build
|
||||
# This is truncated during build. Seems interesting to save.
|
||||
mv VERSION version
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -41,6 +45,9 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make install DESTDIR=%{buildroot}
|
||||
mv version VERSION
|
||||
# Install this with doc macro instead
|
||||
rm %{buildroot}%{_datadir}/doc/%{name}/jemalloc.html
|
||||
|
||||
# None of these in fedora
|
||||
find %{buildroot}%{_libdir}/ -name '*.a' -exec rm -vf {} ';'
|
||||
@ -54,6 +61,7 @@ rm -rf %{buildroot}
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libjemalloc.so.*
|
||||
%doc COPYING README VERSION
|
||||
%doc doc/jemalloc.html
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
@ -66,6 +74,11 @@ rm -rf %{buildroot}
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
* Wed Jan 05 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.0-1
|
||||
- New upstream release
|
||||
- Updated patch to remove pprof
|
||||
- Added html doc and xsltproc as a requirement to build it
|
||||
|
||||
* Sat Dec 11 2010 Dan Horák <dan[at]danny.cz> - 2.0.1-3
|
||||
- fix build on s390
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user