blob: 34d017e961b188d33c656749e7f87b78d81a7e5d [file] [log] [blame]
Jason Evans379f8472010-10-24 16:18:29 -07001Following are change highlights associated with official releases. Important
2bug fixes are all mentioned, but internal enhancements are omitted here for
3brevity (even though they are more fun to write about). Much more detail can be
4found in the git revision history:
5
6 http://www.canonware.com/cgi-bin/gitweb.cgi?p=jemalloc.git
7 git://canonware.com/jemalloc.git
8
Jason Evans86abd0d2013-11-30 15:25:42 -08009* 3.5.0 (XXX)
10
11 Bug fixes:
Jason Evansd37d5ad2013-12-05 23:01:50 -080012 - Unless heap profiling is enabled, disable floating point code and don't link
13 with libm. This, in combination with e.g. EXTRA_CFLAGS=-mno-sse on x64
14 systems, makes it possible to completely disable floating point register
15 use. Some versions of glibc neglect to save/restore caller-saved floating
16 point registers during dynamic lazy symbol loading, and the symbol loading
17 code uses whatever malloc the application happens to have linked/loaded
18 with, the result being potential floating point register corruption.
Jason Evans86abd0d2013-11-30 15:25:42 -080019 - Change the default private namespace prefix from empty to je_, and change
20 --with-private-namespace-prefix so that it prepends an additional prefix
21 rather than replacing je_. This reduces the likelihood of applications
22 which statically link jemalloc experiencing symbol name collisions.
23
Jason Evans0f7ba3f2013-10-20 19:40:09 -070024* 3.4.1 (October 20, 2013)
Jason Evansff08ef72013-10-19 21:41:10 -070025
26 Bug fixes:
Jason Evans7b651802013-10-20 14:09:54 -070027 - Fix a race in the "arenas.extend" mallctl that could cause memory corruption
28 of internal data structures and subsequent crashes.
Jason Evansdda90f52013-10-19 23:48:40 -070029 - Fix Valgrind integration flaws that caused Valgrind warnings about reads of
30 uninitialized memory in:
31 + arena chunk headers
32 + internal zero-initialized data structures (relevant to tcache and prof
33 code)
Jason Evansff08ef72013-10-19 21:41:10 -070034 - Preserve errno during the first allocation. A readlink(2) call during
35 initialization fails unless /etc/malloc.conf exists, so errno was typically
36 set during the first allocation prior to this fix.
37 - Fix compilation warnings reported by gcc 4.8.1.
38
Jason Evans765cc2b2013-06-02 20:58:00 -070039* 3.4.0 (June 2, 2013)
40
41 This version is essentially a small bugfix release, but the addition of
42 aarch64 support requires that the minor version be incremented.
43
44 Bug fixes:
45 - Fix race-triggered deadlocks in chunk_record(). These deadlocks were
46 typically triggered by multiple threads concurrently deallocating huge
47 objects.
48
49 New features:
50 - Add support for the aarch64 architecture.
51
Jason Evans22988352013-03-06 11:11:17 -080052* 3.3.1 (March 6, 2013)
53
54 This version fixes bugs that are typically encountered only when utilizing
55 custom run-time options.
Jason Evansbbe29d32013-01-30 15:03:11 -080056
57 Bug fixes:
Jason Evans88c222c2013-02-06 11:59:30 -080058 - Fix a locking order bug that could cause deadlock during fork if heap
59 profiling were enabled.
Jason Evansa7a28c32013-01-31 16:53:58 -080060 - Fix a chunk recycling bug that could cause the allocator to lose track of
Jason Evans765cc2b2013-06-02 20:58:00 -070061 whether a chunk was zeroed. On FreeBSD, NetBSD, and OS X, it could cause
Jason Evansa7a28c32013-01-31 16:53:58 -080062 corruption if allocating via sbrk(2) (unlikely unless running with the
63 "dss:primary" option specified). This was completely harmless on Linux
64 unless using mlockall(2) (and unlikely even then, unless the
65 --disable-munmap configure option or the "dss:primary" option was
66 specified). This regression was introduced in 3.1.0 by the
67 mlockall(2)/madvise(2) interaction fix.
Jason Evansbbe29d32013-01-30 15:03:11 -080068 - Fix TLS-related memory corruption that could occur during thread exit if the
69 thread never allocated memory. Only the quarantine and prof facilities were
70 susceptible.
Jason Evansd0e942e2013-01-31 14:42:41 -080071 - Fix two quarantine bugs:
72 + Internal reallocation of the quarantined object array leaked the old
73 array.
74 + Reallocation failure for internal reallocation of the quarantined object
75 array (very unlikely) resulted in memory corruption.
Jason Evans06912752013-01-31 17:02:53 -080076 - Fix Valgrind integration to annotate all internally allocated memory in a
77 way that keeps Valgrind happy about internal data structure access.
Jason Evans22988352013-03-06 11:11:17 -080078 - Fix building for s390 systems.
Jason Evansbbe29d32013-01-30 15:03:11 -080079
Jason Evansb5681fb2013-01-22 22:45:09 -080080* 3.3.0 (January 23, 2013)
81
82 This version includes a few minor performance improvements in addition to the
83 listed new features and bug fixes.
84
85 New features:
86 - Add clipping support to lg_chunk option processing.
87 - Add the --enable-ivsalloc option.
88 - Add the --without-export option.
89 - Add the --disable-zone-allocator option.
Jason Evans6eb84fb2012-11-29 22:13:04 -080090
91 Bug fixes:
92 - Fix "arenas.extend" mallctl to output the number of arenas.
Jason Evansa33488d2013-10-03 14:38:39 -070093 - Fix chunk_recycle() to unconditionally inform Valgrind that returned memory
Jason Evans12711852012-12-12 10:12:18 -080094 is undefined.
Jason Evansb5681fb2013-01-22 22:45:09 -080095 - Fix build break on FreeBSD related to alloca.h.
Jason Evans6eb84fb2012-11-29 22:13:04 -080096
Jason Evans556ddc72012-11-07 15:16:29 -080097* 3.2.0 (November 9, 2012)
98
99 In addition to a couple of bug fixes, this version modifies page run
100 allocation and dirty page purging algorithms in order to better control
101 page-level virtual memory fragmentation.
Jason Evans12efefb2012-10-16 22:06:56 -0700102
Jason Evanse3d13062012-10-30 15:42:37 -0700103 Incompatible changes:
Jason Evans556ddc72012-11-07 15:16:29 -0800104 - Change the "opt.lg_dirty_mult" default from 5 to 3 (32:1 to 8:1).
Jason Evanse3d13062012-10-30 15:42:37 -0700105
Jason Evans12efefb2012-10-16 22:06:56 -0700106 Bug fixes:
107 - Fix dss/mmap allocation precedence code to use recyclable mmap memory only
108 after primary dss allocation fails.
Jason Evanse3d13062012-10-30 15:42:37 -0700109 - Fix deadlock in the "arenas.purge" mallctl. This regression was introduced
110 in 3.1.0 by the addition of the "arena.<i>.purge" mallctl.
Jason Evans12efefb2012-10-16 22:06:56 -0700111
Jason Evans2b592b02012-10-16 10:12:40 -0700112* 3.1.0 (October 16, 2012)
Jason Evans3860eac2012-05-15 13:53:21 -0700113
Jason Evans781fe752012-05-15 14:48:14 -0700114 New features:
115 - Auto-detect whether running inside Valgrind, thus removing the need to
116 manually specify MALLOC_CONF=valgrind:true.
Jason Evans2b592b02012-10-16 10:12:40 -0700117 - Add the "arenas.extend" mallctl, which allows applications to create
118 manually managed arenas.
119 - Add the ALLOCM_ARENA() flag for {,r,d}allocm().
120 - Add the "opt.dss", "arena.<i>.dss", and "stats.arenas.<i>.dss" mallctls,
121 which provide control over dss/mmap precedence.
122 - Add the "arena.<i>.purge" mallctl, which obsoletes "arenas.purge".
123 - Define LG_QUANTUM for hppa.
Jason Evans781fe752012-05-15 14:48:14 -0700124
Jason Evans174b70e2012-05-15 23:31:53 -0700125 Incompatible changes:
126 - Disable tcache by default if running inside Valgrind, in order to avoid
127 making unallocated objects appear reachable to Valgrind.
Jason Evans2b592b02012-10-16 10:12:40 -0700128 - Drop const from malloc_usable_size() argument on Linux.
Jason Evans174b70e2012-05-15 23:31:53 -0700129
Jason Evans3860eac2012-05-15 13:53:21 -0700130 Bug fixes:
131 - Fix heap profiling crash if sampled object is freed via realloc(p, 0).
Jason Evans5c710ce2012-05-23 16:09:22 -0700132 - Remove const from __*_hook variable declarations, so that glibc can modify
133 them during process forking.
Jason Evans2b592b02012-10-16 10:12:40 -0700134 - Fix mlockall(2)/madvise(2) interaction.
135 - Fix fork(2)-related deadlocks.
136 - Fix error return value for "thread.tcache.enabled" mallctl.
Jason Evans3860eac2012-05-15 13:53:21 -0700137
Jason Evanscbb71ca2012-05-11 17:00:20 -0700138* 3.0.0 (May 11, 2012)
Jason Evans9ef7f5d2012-04-16 18:16:48 -0700139
140 Although this version adds some major new features, the primary focus is on
141 internal code cleanup that facilitates maintainability and portability, most
142 of which is not reflected in the ChangeLog. This is the first release to
143 incorporate substantial contributions from numerous other developers, and the
144 result is a more broadly useful allocator (see the git revision history for
145 contribution details). Note that the license has been unified, thanks to
146 Facebook granting a license under the same terms as the other copyright
147 holders (see COPYING).
148
149 New features:
150 - Implement Valgrind support, redzones, and quarantine.
Jason Evans079687b2012-04-23 12:49:23 -0700151 - Add support for additional platforms:
Jason Evans9ef7f5d2012-04-16 18:16:48 -0700152 + FreeBSD
153 + Mac OS X Lion
Jason Evans40f514f2012-04-22 16:21:06 -0700154 + MinGW
Jason Evanscbb71ca2012-05-11 17:00:20 -0700155 + Windows (no support yet for replacing the system malloc)
Jason Evans9ef7f5d2012-04-16 18:16:48 -0700156 - Add support for additional architectures:
157 + MIPS
158 + SH4
159 + Tilera
160 - Add support for cross compiling.
161 - Add nallocm(), which rounds a request size up to the nearest size class
162 without actually allocating.
163 - Implement aligned_alloc() (blame C11).
Jason Evans9ef7f5d2012-04-16 18:16:48 -0700164 - Add the "thread.tcache.enabled" mallctl.
Jason Evans0b25fe72012-04-17 16:39:33 -0700165 - Add the "opt.prof_final" mallctl.
Jason Evans25a000e2012-04-17 15:49:30 -0700166 - Update pprof (from gperftools 2.0).
Jason Evanscbb71ca2012-05-11 17:00:20 -0700167 - Add the --with-mangling option.
168 - Add the --disable-experimental option.
169 - Add the --disable-munmap option, and make it the default on Linux.
170 - Add the --enable-mremap option, which disables use of mremap(2) by default.
Jason Evans9ef7f5d2012-04-16 18:16:48 -0700171
172 Incompatible changes:
173 - Enable stats by default.
174 - Enable fill by default.
175 - Disable lazy locking by default.
176 - Rename the "tcache.flush" mallctl to "thread.tcache.flush".
177 - Rename the "arenas.pagesize" mallctl to "arenas.page".
Jason Evans0b25fe72012-04-17 16:39:33 -0700178 - Change the "opt.lg_prof_sample" default from 0 to 19 (1 B to 512 KiB).
179 - Change the "opt.prof_accum" default from true to false.
Jason Evans9ef7f5d2012-04-16 18:16:48 -0700180
181 Removed features:
182 - Remove the swap feature, including the "config.swap", "swap.avail",
183 "swap.prezeroed", "swap.nfds", and "swap.fds" mallctls.
184 - Remove highruns statistics, including the
185 "stats.arenas.<i>.bins.<j>.highruns" and
186 "stats.arenas.<i>.lruns.<j>.highruns" mallctls.
187 - As part of small size class refactoring, remove the "opt.lg_[qc]space_max",
188 "arenas.cacheline", "arenas.subpage", "arenas.[tqcs]space_{min,max}", and
189 "arenas.[tqcs]bins" mallctls.
190 - Remove the "arenas.chunksize" mallctl.
191 - Remove the "opt.lg_prof_tcmax" option.
192 - Remove the "opt.lg_prof_bt_max" option.
193 - Remove the "opt.lg_tcache_gc_sweep" option.
194 - Remove the --disable-tiny option, including the "config.tiny" mallctl.
195 - Remove the --enable-dynamic-page-shift configure option.
196 - Remove the --enable-sysv configure option.
197
198 Bug fixes:
Jason Evans9ef7f5d2012-04-16 18:16:48 -0700199 - Fix a statistics-related bug in the "thread.arena" mallctl that could cause
200 invalid statistics and crashes.
Jason Evans079687b2012-04-23 12:49:23 -0700201 - Work around TLS deallocation via free() on Linux. This bug could cause
Jason Evans9ef7f5d2012-04-16 18:16:48 -0700202 write-after-free memory corruption.
Jason Evans52386b22012-04-22 16:00:11 -0700203 - Fix a potential deadlock that could occur during interval- and
204 growth-triggered heap profile dumps.
Jason Evansd8ceef62012-05-10 20:59:39 -0700205 - Fix large calloc() zeroing bugs due to dropping chunk map unzeroed flags.
Jason Evans8f0e0eb2012-04-21 13:33:48 -0700206 - Fix chunk_alloc_dss() to stop claiming memory is zeroed. This bug could
207 cause memory corruption and crashes with --enable-dss specified.
Jason Evans52386b22012-04-22 16:00:11 -0700208 - Fix fork-related bugs that could cause deadlock in children between fork
209 and exec.
Jason Evans9ef7f5d2012-04-16 18:16:48 -0700210 - Fix malloc_stats_print() to honor 'b' and 'l' in the opts parameter.
211 - Fix realloc(p, 0) to act like free(p).
212 - Do not enforce minimum alignment in memalign().
213 - Check for NULL pointer in malloc_usable_size().
Jason Evans52386b22012-04-22 16:00:11 -0700214 - Fix an off-by-one heap profile statistics bug that could be observed in
215 interval- and growth-triggered heap profiles.
Jason Evans6b9ed672012-04-25 13:12:46 -0700216 - Fix the "epoch" mallctl to update cached stats even if the passed in epoch
217 is 0.
Jason Evans9ef7f5d2012-04-16 18:16:48 -0700218 - Fix bin->runcur management to fix a layout policy bug. This bug did not
219 affect correctness.
220 - Fix a bug in choose_arena_hard() that potentially caused more arenas to be
221 initialized than necessary.
222 - Add missing "opt.lg_tcache_max" mallctl implementation.
223 - Use glibc allocator hooks to make mixed allocator usage less likely.
224 - Fix build issues for --disable-tcache.
Jason Evans918d6e22012-04-20 13:42:21 -0700225 - Don't mangle pthread_create() when --with-private-namespace is specified.
Jason Evans9ef7f5d2012-04-16 18:16:48 -0700226
Jason Evansb3bd8852011-11-14 17:12:45 -0800227* 2.2.5 (November 14, 2011)
228
229 Bug fixes:
230 - Fix huge_ralloc() race when using mremap(2). This is a serious bug that
231 could cause memory corruption and/or crashes.
232 - Fix huge_ralloc() to maintain chunk statistics.
233 - Fix malloc_stats_print(..., "a") output.
234
Jason Evansca9ee1a2011-11-05 21:46:23 -0700235* 2.2.4 (November 5, 2011)
236
237 Bug fixes:
238 - Initialize arenas_tsd before using it. This bug existed for 2.2.[0-3], as
239 well as for --disable-tls builds in earlier releases.
240 - Do not assume a 4 KiB page size in test/rallocm.c.
241
Jason Evansc67e4fd2011-08-31 15:19:13 -0700242* 2.2.3 (August 31, 2011)
243
244 This version fixes numerous bugs related to heap profiling.
245
246 Bug fixes:
247 - Fix a prof-related race condition. This bug could cause memory corruption,
248 but only occurred in non-default configurations (prof_accum:false).
249 - Fix off-by-one backtracing issues (make sure that prof_alloc_prep() is
250 excluded from backtraces).
251 - Fix a prof-related bug in realloc() (only triggered by OOM errors).
252 - Fix prof-related bugs in allocm() and rallocm().
253 - Fix prof_tdata_cleanup() for --disable-tls builds.
254 - Fix a relative include path, to fix objdir builds.
255
Jason Evans4c484812011-07-30 16:59:13 -0700256* 2.2.2 (July 30, 2011)
257
258 Bug fixes:
259 - Fix a build error for --disable-tcache.
260 - Fix assertions in arena_purge() (for real this time).
261 - Add the --with-private-namespace option. This is a workaround for symbol
262 conflicts that can inadvertently arise when using static libraries.
263
Jason Evans7d9ebea2011-03-30 15:01:08 -0700264* 2.2.1 (March 30, 2011)
265
266 Bug fixes:
267 - Implement atomic operations for x86/x64. This fixes compilation failures
268 for versions of gcc that are still in wide use.
269 - Fix an assertion in arena_purge().
270
Jason Evans4bcd9872011-03-22 15:30:22 -0700271* 2.2.0 (March 22, 2011)
272
273 This version incorporates several improvements to algorithms and data
274 structures that tend to reduce fragmentation and increase speed.
275
276 New features:
277 - Add the "stats.cactive" mallctl.
278 - Update pprof (from google-perftools 1.7).
279 - Improve backtracing-related configuration logic, and add the
280 --disable-prof-libgcc option.
281
282 Bug fixes:
283 - Change default symbol visibility from "internal", to "hidden", which
284 decreases the overhead of library-internal function calls.
285 - Fix symbol visibility so that it is also set on OS X.
286 - Fix a build dependency regression caused by the introduction of the .pic.o
287 suffix for PIC object files.
288 - Add missing checks for mutex initialization failures.
289 - Don't use libgcc-based backtracing except on x64, where it is known to work.
290 - Fix deadlocks on OS X that were due to memory allocation in
291 pthread_mutex_lock().
292 - Heap profiling-specific fixes:
293 + Fix memory corruption due to integer overflow in small region index
294 computation, when using a small enough sample interval that profiling
295 context pointers are stored in small run headers.
296 + Fix a bootstrap ordering bug that only occurred with TLS disabled.
297 + Fix a rallocm() rsize bug.
298 + Fix error detection bugs for aligned memory allocation.
299
Jason Evans0e4d0d12011-03-14 16:41:03 -0700300* 2.1.3 (March 14, 2011)
301
302 Bug fixes:
303 - Fix a cpp logic regression (due to the "thread.{de,}allocatedp" mallctl fix
304 for OS X in 2.1.2).
305 - Fix a "thread.arena" mallctl bug.
306 - Fix a thread cache stats merging bug.
307
je6e56e5e2011-03-02 11:23:41 -0800308* 2.1.2 (March 2, 2011)
309
310 Bug fixes:
311 - Fix "thread.{de,}allocatedp" mallctl for OS X.
312 - Add missing jemalloc.a to build system.
313
Jason Evans63692862011-02-07 22:48:35 -0800314* 2.1.1 (January 31, 2011)
Jason Evansada55b22011-01-31 20:08:56 -0800315
Jason Evans63692862011-02-07 22:48:35 -0800316 Bug fixes:
Jason Evansada55b22011-01-31 20:08:56 -0800317 - Fix aligned huge reallocation (affected allocm()).
318 - Fix the ALLOCM_LG_ALIGN macro definition.
319 - Fix a heap dumping deadlock.
320 - Fix a "thread.arena" mallctl bug.
321
Jason Evans63692862011-02-07 22:48:35 -0800322* 2.1.0 (December 3, 2010)
Jason Evans0e8d3d22010-12-03 17:02:16 -0800323
324 This version incorporates some optimizations that can't quite be considered
325 bug fixes.
326
327 New features:
328 - Use Linux's mremap(2) for huge object reallocation when possible.
329 - Avoid locking in mallctl*() when possible.
330 - Add the "thread.[de]allocatedp" mallctl's.
331 - Convert the manual page source from roff to DocBook, and generate both roff
332 and HTML manuals.
333
334 Bug fixes:
335 - Fix a crash due to incorrect bootstrap ordering. This only impacted
336 --enable-debug --enable-dss configurations.
337 - Fix a minor statistics bug for mallctl("swap.avail", ...).
338
Jason Evans63692862011-02-07 22:48:35 -0800339* 2.0.1 (October 29, 2010)
Jason Evans53806fe2010-10-29 20:16:39 -0700340
341 Bug fixes:
342 - Fix a race condition in heap profiling that could cause undefined behavior
Jason Evansada55b22011-01-31 20:08:56 -0800343 if "opt.prof_accum" were disabled.
Jason Evans53806fe2010-10-29 20:16:39 -0700344 - Add missing mutex unlocks for some OOM error paths in the heap profiling
345 code.
346 - Fix a compilation error for non-C99 builds.
347
Jason Evans63692862011-02-07 22:48:35 -0800348* 2.0.0 (October 24, 2010)
Jason Evans379f8472010-10-24 16:18:29 -0700349
350 This version focuses on the experimental *allocm() API, and on improved
351 run-time configuration/introspection. Nonetheless, numerous performance
352 improvements are also included.
353
354 New features:
Jason Evansb059a532010-10-24 16:54:40 -0700355 - Implement the experimental {,r,s,d}allocm() API, which provides a superset
356 of the functionality available via malloc(), calloc(), posix_memalign(),
357 realloc(), malloc_usable_size(), and free(). These functions can be used to
358 allocate/reallocate aligned zeroed memory, ask for optional extra memory
359 during reallocation, prevent object movement during reallocation, etc.
360 - Replace JEMALLOC_OPTIONS/JEMALLOC_PROF_PREFIX with MALLOC_CONF, which is
361 more human-readable, and more flexible. For example:
362 JEMALLOC_OPTIONS=AJP
363 is now:
364 MALLOC_CONF=abort:true,fill:true,stats_print:true
365 - Port to Apple OS X. Sponsored by Mozilla.
366 - Make it possible for the application to control thread-->arena mappings via
367 the "thread.arena" mallctl.
368 - Add compile-time support for all TLS-related functionality via pthreads TSD.
369 This is mainly of interest for OS X, which does not support TLS, but has a
370 TSD implementation with similar performance.
371 - Override memalign() and valloc() if they are provided by the system.
372 - Add the "arenas.purge" mallctl, which can be used to synchronously purge all
373 dirty unused pages.
374 - Make cumulative heap profiling data optional, so that it is possible to
375 limit the amount of memory consumed by heap profiling data structures.
376 - Add per thread allocation counters that can be accessed via the
377 "thread.allocated" and "thread.deallocated" mallctls.
Jason Evans379f8472010-10-24 16:18:29 -0700378
379 Incompatible changes:
Jason Evansb059a532010-10-24 16:54:40 -0700380 - Remove JEMALLOC_OPTIONS and malloc_options (see MALLOC_CONF above).
381 - Increase default backtrace depth from 4 to 128 for heap profiling.
382 - Disable interval-based profile dumps by default.
Jason Evans379f8472010-10-24 16:18:29 -0700383
384 Bug fixes:
385 - Remove bad assertions in fork handler functions. These assertions could
386 cause aborts for some combinations of configure settings.
387 - Fix strerror_r() usage to deal with non-standard semantics in GNU libc.
388 - Fix leak context reporting. This bug tended to cause the number of contexts
389 to be underreported (though the reported number of objects and bytes were
390 correct).
391 - Fix a realloc() bug for large in-place growing reallocation. This bug could
392 cause memory corruption, but it was hard to trigger.
393 - Fix an allocation bug for small allocations that could be triggered if
394 multiple threads raced to create a new run of backing pages.
395 - Enhance the heap profiler to trigger samples based on usable size, rather
396 than request size.
397 - Fix a heap profiling bug due to sometimes losing track of requested object
398 size for sampled objects.
399
Jason Evans63692862011-02-07 22:48:35 -0800400* 1.0.3 (August 12, 2010)
Jason Evans379f8472010-10-24 16:18:29 -0700401
402 Bug fixes:
403 - Fix the libunwind-based implementation of stack backtracing (used for heap
404 profiling). This bug could cause zero-length backtraces to be reported.
405 - Add a missing mutex unlock in library initialization code. If multiple
406 threads raced to initialize malloc, some of them could end up permanently
407 blocked.
408
Jason Evans63692862011-02-07 22:48:35 -0800409* 1.0.2 (May 11, 2010)
Jason Evans379f8472010-10-24 16:18:29 -0700410
411 Bug fixes:
412 - Fix junk filling of large objects, which could cause memory corruption.
413 - Add MAP_NORESERVE support for chunk mapping, because otherwise virtual
414 memory limits could cause swap file configuration to fail. Contributed by
415 Jordan DeLong.
416
Jason Evans63692862011-02-07 22:48:35 -0800417* 1.0.1 (April 14, 2010)
Jason Evans379f8472010-10-24 16:18:29 -0700418
419 Bug fixes:
420 - Fix compilation when --enable-fill is specified.
421 - Fix threads-related profiling bugs that affected accuracy and caused memory
422 to be leaked during thread exit.
423 - Fix dirty page purging race conditions that could cause crashes.
424 - Fix crash in tcache flushing code during thread destruction.
425
Jason Evans63692862011-02-07 22:48:35 -0800426* 1.0.0 (April 11, 2010)
Jason Evans379f8472010-10-24 16:18:29 -0700427
428 This release focuses on speed and run-time introspection. Numerous
429 algorithmic improvements make this release substantially faster than its
430 predecessors.
431
432 New features:
433 - Implement autoconf-based configuration system.
434 - Add mallctl*(), for the purposes of introspection and run-time
435 configuration.
436 - Make it possible for the application to manually flush a thread's cache, via
437 the "tcache.flush" mallctl.
438 - Base maximum dirty page count on proportion of active memory.
439 - Compute various addtional run-time statistics, including per size class
440 statistics for large objects.
441 - Expose malloc_stats_print(), which can be called repeatedly by the
442 application.
443 - Simplify the malloc_message() signature to only take one string argument,
444 and incorporate an opaque data pointer argument for use by the application
445 in combination with malloc_stats_print().
446 - Add support for allocation backed by one or more swap files, and allow the
447 application to disable over-commit if swap files are in use.
448 - Implement allocation profiling and leak checking.
449
450 Removed features:
451 - Remove the dynamic arena rebalancing code, since thread-specific caching
452 reduces its utility.
453
454 Bug fixes:
455 - Modify chunk allocation to work when address space layout randomization
456 (ASLR) is in use.
457 - Fix thread cleanup bugs related to TLS destruction.
458 - Handle 0-size allocation requests in posix_memalign().
459 - Fix a chunk leak. The leaked chunks were never touched, so this impacted
460 virtual memory usage, but not physical memory usage.
461
Jason Evans63692862011-02-07 22:48:35 -0800462* linux_2008082[78]a (August 27/28, 2008)
Jason Evans379f8472010-10-24 16:18:29 -0700463
464 These snapshot releases are the simple result of incorporating Linux-specific
465 support into the FreeBSD malloc sources.
466
467--------------------------------------------------------------------------------
468vim:filetype=text:textwidth=80