Jason Evans | 379f847 | 2010-10-24 16:18:29 -0700 | [diff] [blame] | 1 | Following are change highlights associated with official releases. Important |
| 2 | bug fixes are all mentioned, but internal enhancements are omitted here for |
| 3 | brevity (even though they are more fun to write about). Much more detail can be |
| 4 | found 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 Evans | 12efefb | 2012-10-16 22:06:56 -0700 | [diff] [blame] | 9 | * 3.x.x (XXX Not released) |
| 10 | |
| 11 | Bug fixes: |
| 12 | - Fix dss/mmap allocation precedence code to use recyclable mmap memory only |
| 13 | after primary dss allocation fails. |
| 14 | |
Jason Evans | 2b592b0 | 2012-10-16 10:12:40 -0700 | [diff] [blame] | 15 | * 3.1.0 (October 16, 2012) |
Jason Evans | 3860eac | 2012-05-15 13:53:21 -0700 | [diff] [blame] | 16 | |
Jason Evans | 781fe75 | 2012-05-15 14:48:14 -0700 | [diff] [blame] | 17 | New features: |
| 18 | - Auto-detect whether running inside Valgrind, thus removing the need to |
| 19 | manually specify MALLOC_CONF=valgrind:true. |
Jason Evans | 2b592b0 | 2012-10-16 10:12:40 -0700 | [diff] [blame] | 20 | - Add the "arenas.extend" mallctl, which allows applications to create |
| 21 | manually managed arenas. |
| 22 | - Add the ALLOCM_ARENA() flag for {,r,d}allocm(). |
| 23 | - Add the "opt.dss", "arena.<i>.dss", and "stats.arenas.<i>.dss" mallctls, |
| 24 | which provide control over dss/mmap precedence. |
| 25 | - Add the "arena.<i>.purge" mallctl, which obsoletes "arenas.purge". |
| 26 | - Define LG_QUANTUM for hppa. |
Jason Evans | 781fe75 | 2012-05-15 14:48:14 -0700 | [diff] [blame] | 27 | |
Jason Evans | 174b70e | 2012-05-15 23:31:53 -0700 | [diff] [blame] | 28 | Incompatible changes: |
| 29 | - Disable tcache by default if running inside Valgrind, in order to avoid |
| 30 | making unallocated objects appear reachable to Valgrind. |
Jason Evans | 2b592b0 | 2012-10-16 10:12:40 -0700 | [diff] [blame] | 31 | - Drop const from malloc_usable_size() argument on Linux. |
Jason Evans | 174b70e | 2012-05-15 23:31:53 -0700 | [diff] [blame] | 32 | |
Jason Evans | 3860eac | 2012-05-15 13:53:21 -0700 | [diff] [blame] | 33 | Bug fixes: |
| 34 | - Fix heap profiling crash if sampled object is freed via realloc(p, 0). |
Jason Evans | 5c710ce | 2012-05-23 16:09:22 -0700 | [diff] [blame] | 35 | - Remove const from __*_hook variable declarations, so that glibc can modify |
| 36 | them during process forking. |
Jason Evans | 2b592b0 | 2012-10-16 10:12:40 -0700 | [diff] [blame] | 37 | - Fix mlockall(2)/madvise(2) interaction. |
| 38 | - Fix fork(2)-related deadlocks. |
| 39 | - Fix error return value for "thread.tcache.enabled" mallctl. |
Jason Evans | 3860eac | 2012-05-15 13:53:21 -0700 | [diff] [blame] | 40 | |
Jason Evans | cbb71ca | 2012-05-11 17:00:20 -0700 | [diff] [blame] | 41 | * 3.0.0 (May 11, 2012) |
Jason Evans | 9ef7f5d | 2012-04-16 18:16:48 -0700 | [diff] [blame] | 42 | |
| 43 | Although this version adds some major new features, the primary focus is on |
| 44 | internal code cleanup that facilitates maintainability and portability, most |
| 45 | of which is not reflected in the ChangeLog. This is the first release to |
| 46 | incorporate substantial contributions from numerous other developers, and the |
| 47 | result is a more broadly useful allocator (see the git revision history for |
| 48 | contribution details). Note that the license has been unified, thanks to |
| 49 | Facebook granting a license under the same terms as the other copyright |
| 50 | holders (see COPYING). |
| 51 | |
| 52 | New features: |
| 53 | - Implement Valgrind support, redzones, and quarantine. |
Jason Evans | 079687b | 2012-04-23 12:49:23 -0700 | [diff] [blame] | 54 | - Add support for additional platforms: |
Jason Evans | 9ef7f5d | 2012-04-16 18:16:48 -0700 | [diff] [blame] | 55 | + FreeBSD |
| 56 | + Mac OS X Lion |
Jason Evans | 40f514f | 2012-04-22 16:21:06 -0700 | [diff] [blame] | 57 | + MinGW |
Jason Evans | cbb71ca | 2012-05-11 17:00:20 -0700 | [diff] [blame] | 58 | + Windows (no support yet for replacing the system malloc) |
Jason Evans | 9ef7f5d | 2012-04-16 18:16:48 -0700 | [diff] [blame] | 59 | - Add support for additional architectures: |
| 60 | + MIPS |
| 61 | + SH4 |
| 62 | + Tilera |
| 63 | - Add support for cross compiling. |
| 64 | - Add nallocm(), which rounds a request size up to the nearest size class |
| 65 | without actually allocating. |
| 66 | - Implement aligned_alloc() (blame C11). |
Jason Evans | 9ef7f5d | 2012-04-16 18:16:48 -0700 | [diff] [blame] | 67 | - Add the "thread.tcache.enabled" mallctl. |
Jason Evans | 0b25fe7 | 2012-04-17 16:39:33 -0700 | [diff] [blame] | 68 | - Add the "opt.prof_final" mallctl. |
Jason Evans | 25a000e | 2012-04-17 15:49:30 -0700 | [diff] [blame] | 69 | - Update pprof (from gperftools 2.0). |
Jason Evans | cbb71ca | 2012-05-11 17:00:20 -0700 | [diff] [blame] | 70 | - Add the --with-mangling option. |
| 71 | - Add the --disable-experimental option. |
| 72 | - Add the --disable-munmap option, and make it the default on Linux. |
| 73 | - Add the --enable-mremap option, which disables use of mremap(2) by default. |
Jason Evans | 9ef7f5d | 2012-04-16 18:16:48 -0700 | [diff] [blame] | 74 | |
| 75 | Incompatible changes: |
| 76 | - Enable stats by default. |
| 77 | - Enable fill by default. |
| 78 | - Disable lazy locking by default. |
| 79 | - Rename the "tcache.flush" mallctl to "thread.tcache.flush". |
| 80 | - Rename the "arenas.pagesize" mallctl to "arenas.page". |
Jason Evans | 0b25fe7 | 2012-04-17 16:39:33 -0700 | [diff] [blame] | 81 | - Change the "opt.lg_prof_sample" default from 0 to 19 (1 B to 512 KiB). |
| 82 | - Change the "opt.prof_accum" default from true to false. |
Jason Evans | 9ef7f5d | 2012-04-16 18:16:48 -0700 | [diff] [blame] | 83 | |
| 84 | Removed features: |
| 85 | - Remove the swap feature, including the "config.swap", "swap.avail", |
| 86 | "swap.prezeroed", "swap.nfds", and "swap.fds" mallctls. |
| 87 | - Remove highruns statistics, including the |
| 88 | "stats.arenas.<i>.bins.<j>.highruns" and |
| 89 | "stats.arenas.<i>.lruns.<j>.highruns" mallctls. |
| 90 | - As part of small size class refactoring, remove the "opt.lg_[qc]space_max", |
| 91 | "arenas.cacheline", "arenas.subpage", "arenas.[tqcs]space_{min,max}", and |
| 92 | "arenas.[tqcs]bins" mallctls. |
| 93 | - Remove the "arenas.chunksize" mallctl. |
| 94 | - Remove the "opt.lg_prof_tcmax" option. |
| 95 | - Remove the "opt.lg_prof_bt_max" option. |
| 96 | - Remove the "opt.lg_tcache_gc_sweep" option. |
| 97 | - Remove the --disable-tiny option, including the "config.tiny" mallctl. |
| 98 | - Remove the --enable-dynamic-page-shift configure option. |
| 99 | - Remove the --enable-sysv configure option. |
| 100 | |
| 101 | Bug fixes: |
Jason Evans | 9ef7f5d | 2012-04-16 18:16:48 -0700 | [diff] [blame] | 102 | - Fix a statistics-related bug in the "thread.arena" mallctl that could cause |
| 103 | invalid statistics and crashes. |
Jason Evans | 079687b | 2012-04-23 12:49:23 -0700 | [diff] [blame] | 104 | - Work around TLS deallocation via free() on Linux. This bug could cause |
Jason Evans | 9ef7f5d | 2012-04-16 18:16:48 -0700 | [diff] [blame] | 105 | write-after-free memory corruption. |
Jason Evans | 52386b2 | 2012-04-22 16:00:11 -0700 | [diff] [blame] | 106 | - Fix a potential deadlock that could occur during interval- and |
| 107 | growth-triggered heap profile dumps. |
Jason Evans | d8ceef6 | 2012-05-10 20:59:39 -0700 | [diff] [blame] | 108 | - Fix large calloc() zeroing bugs due to dropping chunk map unzeroed flags. |
Jason Evans | 8f0e0eb | 2012-04-21 13:33:48 -0700 | [diff] [blame] | 109 | - Fix chunk_alloc_dss() to stop claiming memory is zeroed. This bug could |
| 110 | cause memory corruption and crashes with --enable-dss specified. |
Jason Evans | 52386b2 | 2012-04-22 16:00:11 -0700 | [diff] [blame] | 111 | - Fix fork-related bugs that could cause deadlock in children between fork |
| 112 | and exec. |
Jason Evans | 9ef7f5d | 2012-04-16 18:16:48 -0700 | [diff] [blame] | 113 | - Fix malloc_stats_print() to honor 'b' and 'l' in the opts parameter. |
| 114 | - Fix realloc(p, 0) to act like free(p). |
| 115 | - Do not enforce minimum alignment in memalign(). |
| 116 | - Check for NULL pointer in malloc_usable_size(). |
Jason Evans | 52386b2 | 2012-04-22 16:00:11 -0700 | [diff] [blame] | 117 | - Fix an off-by-one heap profile statistics bug that could be observed in |
| 118 | interval- and growth-triggered heap profiles. |
Jason Evans | 6b9ed67 | 2012-04-25 13:12:46 -0700 | [diff] [blame] | 119 | - Fix the "epoch" mallctl to update cached stats even if the passed in epoch |
| 120 | is 0. |
Jason Evans | 9ef7f5d | 2012-04-16 18:16:48 -0700 | [diff] [blame] | 121 | - Fix bin->runcur management to fix a layout policy bug. This bug did not |
| 122 | affect correctness. |
| 123 | - Fix a bug in choose_arena_hard() that potentially caused more arenas to be |
| 124 | initialized than necessary. |
| 125 | - Add missing "opt.lg_tcache_max" mallctl implementation. |
| 126 | - Use glibc allocator hooks to make mixed allocator usage less likely. |
| 127 | - Fix build issues for --disable-tcache. |
Jason Evans | 918d6e2 | 2012-04-20 13:42:21 -0700 | [diff] [blame] | 128 | - Don't mangle pthread_create() when --with-private-namespace is specified. |
Jason Evans | 9ef7f5d | 2012-04-16 18:16:48 -0700 | [diff] [blame] | 129 | |
Jason Evans | b3bd885 | 2011-11-14 17:12:45 -0800 | [diff] [blame] | 130 | * 2.2.5 (November 14, 2011) |
| 131 | |
| 132 | Bug fixes: |
| 133 | - Fix huge_ralloc() race when using mremap(2). This is a serious bug that |
| 134 | could cause memory corruption and/or crashes. |
| 135 | - Fix huge_ralloc() to maintain chunk statistics. |
| 136 | - Fix malloc_stats_print(..., "a") output. |
| 137 | |
Jason Evans | ca9ee1a | 2011-11-05 21:46:23 -0700 | [diff] [blame] | 138 | * 2.2.4 (November 5, 2011) |
| 139 | |
| 140 | Bug fixes: |
| 141 | - Initialize arenas_tsd before using it. This bug existed for 2.2.[0-3], as |
| 142 | well as for --disable-tls builds in earlier releases. |
| 143 | - Do not assume a 4 KiB page size in test/rallocm.c. |
| 144 | |
Jason Evans | c67e4fd | 2011-08-31 15:19:13 -0700 | [diff] [blame] | 145 | * 2.2.3 (August 31, 2011) |
| 146 | |
| 147 | This version fixes numerous bugs related to heap profiling. |
| 148 | |
| 149 | Bug fixes: |
| 150 | - Fix a prof-related race condition. This bug could cause memory corruption, |
| 151 | but only occurred in non-default configurations (prof_accum:false). |
| 152 | - Fix off-by-one backtracing issues (make sure that prof_alloc_prep() is |
| 153 | excluded from backtraces). |
| 154 | - Fix a prof-related bug in realloc() (only triggered by OOM errors). |
| 155 | - Fix prof-related bugs in allocm() and rallocm(). |
| 156 | - Fix prof_tdata_cleanup() for --disable-tls builds. |
| 157 | - Fix a relative include path, to fix objdir builds. |
| 158 | |
Jason Evans | 4c48481 | 2011-07-30 16:59:13 -0700 | [diff] [blame] | 159 | * 2.2.2 (July 30, 2011) |
| 160 | |
| 161 | Bug fixes: |
| 162 | - Fix a build error for --disable-tcache. |
| 163 | - Fix assertions in arena_purge() (for real this time). |
| 164 | - Add the --with-private-namespace option. This is a workaround for symbol |
| 165 | conflicts that can inadvertently arise when using static libraries. |
| 166 | |
Jason Evans | 7d9ebea | 2011-03-30 15:01:08 -0700 | [diff] [blame] | 167 | * 2.2.1 (March 30, 2011) |
| 168 | |
| 169 | Bug fixes: |
| 170 | - Implement atomic operations for x86/x64. This fixes compilation failures |
| 171 | for versions of gcc that are still in wide use. |
| 172 | - Fix an assertion in arena_purge(). |
| 173 | |
Jason Evans | 4bcd987 | 2011-03-22 15:30:22 -0700 | [diff] [blame] | 174 | * 2.2.0 (March 22, 2011) |
| 175 | |
| 176 | This version incorporates several improvements to algorithms and data |
| 177 | structures that tend to reduce fragmentation and increase speed. |
| 178 | |
| 179 | New features: |
| 180 | - Add the "stats.cactive" mallctl. |
| 181 | - Update pprof (from google-perftools 1.7). |
| 182 | - Improve backtracing-related configuration logic, and add the |
| 183 | --disable-prof-libgcc option. |
| 184 | |
| 185 | Bug fixes: |
| 186 | - Change default symbol visibility from "internal", to "hidden", which |
| 187 | decreases the overhead of library-internal function calls. |
| 188 | - Fix symbol visibility so that it is also set on OS X. |
| 189 | - Fix a build dependency regression caused by the introduction of the .pic.o |
| 190 | suffix for PIC object files. |
| 191 | - Add missing checks for mutex initialization failures. |
| 192 | - Don't use libgcc-based backtracing except on x64, where it is known to work. |
| 193 | - Fix deadlocks on OS X that were due to memory allocation in |
| 194 | pthread_mutex_lock(). |
| 195 | - Heap profiling-specific fixes: |
| 196 | + Fix memory corruption due to integer overflow in small region index |
| 197 | computation, when using a small enough sample interval that profiling |
| 198 | context pointers are stored in small run headers. |
| 199 | + Fix a bootstrap ordering bug that only occurred with TLS disabled. |
| 200 | + Fix a rallocm() rsize bug. |
| 201 | + Fix error detection bugs for aligned memory allocation. |
| 202 | |
Jason Evans | 0e4d0d1 | 2011-03-14 16:41:03 -0700 | [diff] [blame] | 203 | * 2.1.3 (March 14, 2011) |
| 204 | |
| 205 | Bug fixes: |
| 206 | - Fix a cpp logic regression (due to the "thread.{de,}allocatedp" mallctl fix |
| 207 | for OS X in 2.1.2). |
| 208 | - Fix a "thread.arena" mallctl bug. |
| 209 | - Fix a thread cache stats merging bug. |
| 210 | |
je | 6e56e5e | 2011-03-02 11:23:41 -0800 | [diff] [blame] | 211 | * 2.1.2 (March 2, 2011) |
| 212 | |
| 213 | Bug fixes: |
| 214 | - Fix "thread.{de,}allocatedp" mallctl for OS X. |
| 215 | - Add missing jemalloc.a to build system. |
| 216 | |
Jason Evans | 6369286 | 2011-02-07 22:48:35 -0800 | [diff] [blame] | 217 | * 2.1.1 (January 31, 2011) |
Jason Evans | ada55b2 | 2011-01-31 20:08:56 -0800 | [diff] [blame] | 218 | |
Jason Evans | 6369286 | 2011-02-07 22:48:35 -0800 | [diff] [blame] | 219 | Bug fixes: |
Jason Evans | ada55b2 | 2011-01-31 20:08:56 -0800 | [diff] [blame] | 220 | - Fix aligned huge reallocation (affected allocm()). |
| 221 | - Fix the ALLOCM_LG_ALIGN macro definition. |
| 222 | - Fix a heap dumping deadlock. |
| 223 | - Fix a "thread.arena" mallctl bug. |
| 224 | |
Jason Evans | 6369286 | 2011-02-07 22:48:35 -0800 | [diff] [blame] | 225 | * 2.1.0 (December 3, 2010) |
Jason Evans | 0e8d3d2 | 2010-12-03 17:02:16 -0800 | [diff] [blame] | 226 | |
| 227 | This version incorporates some optimizations that can't quite be considered |
| 228 | bug fixes. |
| 229 | |
| 230 | New features: |
| 231 | - Use Linux's mremap(2) for huge object reallocation when possible. |
| 232 | - Avoid locking in mallctl*() when possible. |
| 233 | - Add the "thread.[de]allocatedp" mallctl's. |
| 234 | - Convert the manual page source from roff to DocBook, and generate both roff |
| 235 | and HTML manuals. |
| 236 | |
| 237 | Bug fixes: |
| 238 | - Fix a crash due to incorrect bootstrap ordering. This only impacted |
| 239 | --enable-debug --enable-dss configurations. |
| 240 | - Fix a minor statistics bug for mallctl("swap.avail", ...). |
| 241 | |
Jason Evans | 6369286 | 2011-02-07 22:48:35 -0800 | [diff] [blame] | 242 | * 2.0.1 (October 29, 2010) |
Jason Evans | 53806fe | 2010-10-29 20:16:39 -0700 | [diff] [blame] | 243 | |
| 244 | Bug fixes: |
| 245 | - Fix a race condition in heap profiling that could cause undefined behavior |
Jason Evans | ada55b2 | 2011-01-31 20:08:56 -0800 | [diff] [blame] | 246 | if "opt.prof_accum" were disabled. |
Jason Evans | 53806fe | 2010-10-29 20:16:39 -0700 | [diff] [blame] | 247 | - Add missing mutex unlocks for some OOM error paths in the heap profiling |
| 248 | code. |
| 249 | - Fix a compilation error for non-C99 builds. |
| 250 | |
Jason Evans | 6369286 | 2011-02-07 22:48:35 -0800 | [diff] [blame] | 251 | * 2.0.0 (October 24, 2010) |
Jason Evans | 379f847 | 2010-10-24 16:18:29 -0700 | [diff] [blame] | 252 | |
| 253 | This version focuses on the experimental *allocm() API, and on improved |
| 254 | run-time configuration/introspection. Nonetheless, numerous performance |
| 255 | improvements are also included. |
| 256 | |
| 257 | New features: |
Jason Evans | b059a53 | 2010-10-24 16:54:40 -0700 | [diff] [blame] | 258 | - Implement the experimental {,r,s,d}allocm() API, which provides a superset |
| 259 | of the functionality available via malloc(), calloc(), posix_memalign(), |
| 260 | realloc(), malloc_usable_size(), and free(). These functions can be used to |
| 261 | allocate/reallocate aligned zeroed memory, ask for optional extra memory |
| 262 | during reallocation, prevent object movement during reallocation, etc. |
| 263 | - Replace JEMALLOC_OPTIONS/JEMALLOC_PROF_PREFIX with MALLOC_CONF, which is |
| 264 | more human-readable, and more flexible. For example: |
| 265 | JEMALLOC_OPTIONS=AJP |
| 266 | is now: |
| 267 | MALLOC_CONF=abort:true,fill:true,stats_print:true |
| 268 | - Port to Apple OS X. Sponsored by Mozilla. |
| 269 | - Make it possible for the application to control thread-->arena mappings via |
| 270 | the "thread.arena" mallctl. |
| 271 | - Add compile-time support for all TLS-related functionality via pthreads TSD. |
| 272 | This is mainly of interest for OS X, which does not support TLS, but has a |
| 273 | TSD implementation with similar performance. |
| 274 | - Override memalign() and valloc() if they are provided by the system. |
| 275 | - Add the "arenas.purge" mallctl, which can be used to synchronously purge all |
| 276 | dirty unused pages. |
| 277 | - Make cumulative heap profiling data optional, so that it is possible to |
| 278 | limit the amount of memory consumed by heap profiling data structures. |
| 279 | - Add per thread allocation counters that can be accessed via the |
| 280 | "thread.allocated" and "thread.deallocated" mallctls. |
Jason Evans | 379f847 | 2010-10-24 16:18:29 -0700 | [diff] [blame] | 281 | |
| 282 | Incompatible changes: |
Jason Evans | b059a53 | 2010-10-24 16:54:40 -0700 | [diff] [blame] | 283 | - Remove JEMALLOC_OPTIONS and malloc_options (see MALLOC_CONF above). |
| 284 | - Increase default backtrace depth from 4 to 128 for heap profiling. |
| 285 | - Disable interval-based profile dumps by default. |
Jason Evans | 379f847 | 2010-10-24 16:18:29 -0700 | [diff] [blame] | 286 | |
| 287 | Bug fixes: |
| 288 | - Remove bad assertions in fork handler functions. These assertions could |
| 289 | cause aborts for some combinations of configure settings. |
| 290 | - Fix strerror_r() usage to deal with non-standard semantics in GNU libc. |
| 291 | - Fix leak context reporting. This bug tended to cause the number of contexts |
| 292 | to be underreported (though the reported number of objects and bytes were |
| 293 | correct). |
| 294 | - Fix a realloc() bug for large in-place growing reallocation. This bug could |
| 295 | cause memory corruption, but it was hard to trigger. |
| 296 | - Fix an allocation bug for small allocations that could be triggered if |
| 297 | multiple threads raced to create a new run of backing pages. |
| 298 | - Enhance the heap profiler to trigger samples based on usable size, rather |
| 299 | than request size. |
| 300 | - Fix a heap profiling bug due to sometimes losing track of requested object |
| 301 | size for sampled objects. |
| 302 | |
Jason Evans | 6369286 | 2011-02-07 22:48:35 -0800 | [diff] [blame] | 303 | * 1.0.3 (August 12, 2010) |
Jason Evans | 379f847 | 2010-10-24 16:18:29 -0700 | [diff] [blame] | 304 | |
| 305 | Bug fixes: |
| 306 | - Fix the libunwind-based implementation of stack backtracing (used for heap |
| 307 | profiling). This bug could cause zero-length backtraces to be reported. |
| 308 | - Add a missing mutex unlock in library initialization code. If multiple |
| 309 | threads raced to initialize malloc, some of them could end up permanently |
| 310 | blocked. |
| 311 | |
Jason Evans | 6369286 | 2011-02-07 22:48:35 -0800 | [diff] [blame] | 312 | * 1.0.2 (May 11, 2010) |
Jason Evans | 379f847 | 2010-10-24 16:18:29 -0700 | [diff] [blame] | 313 | |
| 314 | Bug fixes: |
| 315 | - Fix junk filling of large objects, which could cause memory corruption. |
| 316 | - Add MAP_NORESERVE support for chunk mapping, because otherwise virtual |
| 317 | memory limits could cause swap file configuration to fail. Contributed by |
| 318 | Jordan DeLong. |
| 319 | |
Jason Evans | 6369286 | 2011-02-07 22:48:35 -0800 | [diff] [blame] | 320 | * 1.0.1 (April 14, 2010) |
Jason Evans | 379f847 | 2010-10-24 16:18:29 -0700 | [diff] [blame] | 321 | |
| 322 | Bug fixes: |
| 323 | - Fix compilation when --enable-fill is specified. |
| 324 | - Fix threads-related profiling bugs that affected accuracy and caused memory |
| 325 | to be leaked during thread exit. |
| 326 | - Fix dirty page purging race conditions that could cause crashes. |
| 327 | - Fix crash in tcache flushing code during thread destruction. |
| 328 | |
Jason Evans | 6369286 | 2011-02-07 22:48:35 -0800 | [diff] [blame] | 329 | * 1.0.0 (April 11, 2010) |
Jason Evans | 379f847 | 2010-10-24 16:18:29 -0700 | [diff] [blame] | 330 | |
| 331 | This release focuses on speed and run-time introspection. Numerous |
| 332 | algorithmic improvements make this release substantially faster than its |
| 333 | predecessors. |
| 334 | |
| 335 | New features: |
| 336 | - Implement autoconf-based configuration system. |
| 337 | - Add mallctl*(), for the purposes of introspection and run-time |
| 338 | configuration. |
| 339 | - Make it possible for the application to manually flush a thread's cache, via |
| 340 | the "tcache.flush" mallctl. |
| 341 | - Base maximum dirty page count on proportion of active memory. |
| 342 | - Compute various addtional run-time statistics, including per size class |
| 343 | statistics for large objects. |
| 344 | - Expose malloc_stats_print(), which can be called repeatedly by the |
| 345 | application. |
| 346 | - Simplify the malloc_message() signature to only take one string argument, |
| 347 | and incorporate an opaque data pointer argument for use by the application |
| 348 | in combination with malloc_stats_print(). |
| 349 | - Add support for allocation backed by one or more swap files, and allow the |
| 350 | application to disable over-commit if swap files are in use. |
| 351 | - Implement allocation profiling and leak checking. |
| 352 | |
| 353 | Removed features: |
| 354 | - Remove the dynamic arena rebalancing code, since thread-specific caching |
| 355 | reduces its utility. |
| 356 | |
| 357 | Bug fixes: |
| 358 | - Modify chunk allocation to work when address space layout randomization |
| 359 | (ASLR) is in use. |
| 360 | - Fix thread cleanup bugs related to TLS destruction. |
| 361 | - Handle 0-size allocation requests in posix_memalign(). |
| 362 | - Fix a chunk leak. The leaked chunks were never touched, so this impacted |
| 363 | virtual memory usage, but not physical memory usage. |
| 364 | |
Jason Evans | 6369286 | 2011-02-07 22:48:35 -0800 | [diff] [blame] | 365 | * linux_2008082[78]a (August 27/28, 2008) |
Jason Evans | 379f847 | 2010-10-24 16:18:29 -0700 | [diff] [blame] | 366 | |
| 367 | These snapshot releases are the simple result of incorporating Linux-specific |
| 368 | support into the FreeBSD malloc sources. |
| 369 | |
| 370 | -------------------------------------------------------------------------------- |
| 371 | vim:filetype=text:textwidth=80 |