Skip to content

Commit f1f7635

Browse files
committed
Merge branch 'rc-4.4.0'
2 parents 0110fa8 + 2d1bb89 commit f1f7635

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1396
-705
lines changed

ChangeLog

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,33 @@ brevity. Much more detail can be found in the git revision history:
44

55
https://github.com/jemalloc/jemalloc
66

7+
* 4.4.0 (December 3, 2016)
8+
9+
New features:
10+
- Add configure support for *-*-linux-android. (@cferris1000, @jasone)
11+
- Add the --disable-syscall configure option, for use on systems that place
12+
security-motivated limitations on syscall(2). (@jasone)
13+
- Add support for Debian GNU/kFreeBSD. (@thesam)
14+
15+
Optimizations:
16+
- Add extent serial numbers and use them where appropriate as a sort key that
17+
is higher priority than address, so that the allocation policy prefers older
18+
extents. This tends to improve locality (decrease fragmentation) when
19+
memory grows downward. (@jasone)
20+
- Refactor madvise(2) configuration so that MADV_FREE is detected and utilized
21+
on Linux 4.5 and newer. (@jasone)
22+
- Mark partially purged arena chunks as non-huge-page. This improves
23+
interaction with Linux's transparent huge page functionality. (@jasone)
24+
25+
Bug fixes:
26+
- Fix size class computations for edge conditions involving extremely large
27+
allocations. This regression was first released in 4.0.0. (@jasone,
28+
@ingvarha)
29+
- Remove overly restrictive assertions related to the cactive statistic. This
30+
regression was first released in 4.1.0. (@jasone)
31+
- Implement a more reliable detection scheme for os_unfair_lock on macOS.
32+
(@jszakmeister)
33+
734
* 4.3.1 (November 7, 2016)
835

936
Bug fixes:

INSTALL

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,11 @@ any of the following arguments (not a definitive list) to 'configure':
206206
most extreme case increases physical memory usage for the 16 KiB size class
207207
to 20 KiB.
208208

209+
--disable-syscall
210+
Disable use of syscall(2) rather than {open,read,write,close}(2). This is
211+
intended as a workaround for systems that place security limitations on
212+
syscall(2).
213+
209214
--with-xslroot=<path>
210215
Specify where to find DocBook XSL stylesheets when building the
211216
documentation.
@@ -327,6 +332,15 @@ LDFLAGS="?"
327332
PATH="?"
328333
'configure' uses this to find programs.
329334

335+
In some cases it may be necessary to work around configuration results that do
336+
not match reality. For example, Linux 4.5 added support for the MADV_FREE flag
337+
to madvise(2), which can cause problems if building on a host with MADV_FREE
338+
support and deploying to a target without. To work around this, use a cache
339+
file to override the relevant configuration variable defined in configure.ac,
340+
e.g.:
341+
342+
echo "je_cv_madv_free=no" > config.cache && ./configure -C
343+
330344
=== Advanced compilation =======================================================
331345

332346
To build only parts of jemalloc, use the following targets:

Makefile.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ TESTS_UNIT := \
166166
$(srcroot)test/unit/math.c \
167167
$(srcroot)test/unit/mq.c \
168168
$(srcroot)test/unit/mtx.c \
169+
$(srcroot)test/unit/pack.c \
170+
$(srcroot)test/unit/pages.c \
169171
$(srcroot)test/unit/ph.c \
170172
$(srcroot)test/unit/prng.c \
171173
$(srcroot)test/unit/prof_accum.c \

0 commit comments

Comments
 (0)