2
0

ChangeLog 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  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. https://github.com/jemalloc/jemalloc
  6. * 3.6.0 (March 31, 2014)
  7. This version contains a critical bug fix for a regression present in 3.5.0 and
  8. 3.5.1.
  9. Bug fixes:
  10. - Fix a regression in arena_chunk_alloc() that caused crashes during
  11. small/large allocation if chunk allocation failed. In the absence of this
  12. bug, chunk allocation failure would result in allocation failure, e.g. NULL
  13. return from malloc(). This regression was introduced in 3.5.0.
  14. - Fix backtracing for gcc intrinsics-based backtracing by specifying
  15. -fno-omit-frame-pointer to gcc. Note that the application (and all the
  16. libraries it links to) must also be compiled with this option for
  17. backtracing to be reliable.
  18. - Use dss allocation precedence for huge allocations as well as small/large
  19. allocations.
  20. - Fix test assertion failure message formatting. This bug did not manifect on
  21. x86_64 systems because of implementation subtleties in va_list.
  22. - Fix inconsequential test failures for hash and SFMT code.
  23. New features:
  24. - Support heap profiling on FreeBSD. This feature depends on the proc
  25. filesystem being mounted during heap profile dumping.
  26. * 3.5.1 (February 25, 2014)
  27. This version primarily addresses minor bugs in test code.
  28. Bug fixes:
  29. - Configure Solaris/Illumos to use MADV_FREE.
  30. - Fix junk filling for mremap(2)-based huge reallocation. This is only
  31. relevant if configuring with the --enable-mremap option specified.
  32. - Avoid compilation failure if 'restrict' C99 keyword is not supported by the
  33. compiler.
  34. - Add a configure test for SSE2 rather than assuming it is usable on i686
  35. systems. This fixes test compilation errors, especially on 32-bit Linux
  36. systems.
  37. - Fix mallctl argument size mismatches (size_t vs. uint64_t) in the stats unit
  38. test.
  39. - Fix/remove flawed alignment-related overflow tests.
  40. - Prevent compiler optimizations that could change backtraces in the
  41. prof_accum unit test.
  42. * 3.5.0 (January 22, 2014)
  43. This version focuses on refactoring and automated testing, though it also
  44. includes some non-trivial heap profiling optimizations not mentioned below.
  45. New features:
  46. - Add the *allocx() API, which is a successor to the experimental *allocm()
  47. API. The *allocx() functions are slightly simpler to use because they have
  48. fewer parameters, they directly return the results of primary interest, and
  49. mallocx()/rallocx() avoid the strict aliasing pitfall that
  50. allocm()/rallocm() share with posix_memalign(). Note that *allocm() is
  51. slated for removal in the next non-bugfix release.
  52. - Add support for LinuxThreads.
  53. Bug fixes:
  54. - Unless heap profiling is enabled, disable floating point code and don't link
  55. with libm. This, in combination with e.g. EXTRA_CFLAGS=-mno-sse on x64
  56. systems, makes it possible to completely disable floating point register
  57. use. Some versions of glibc neglect to save/restore caller-saved floating
  58. point registers during dynamic lazy symbol loading, and the symbol loading
  59. code uses whatever malloc the application happens to have linked/loaded
  60. with, the result being potential floating point register corruption.
  61. - Report ENOMEM rather than EINVAL if an OOM occurs during heap profiling
  62. backtrace creation in imemalign(). This bug impacted posix_memalign() and
  63. aligned_alloc().
  64. - Fix a file descriptor leak in a prof_dump_maps() error path.
  65. - Fix prof_dump() to close the dump file descriptor for all relevant error
  66. paths.
  67. - Fix rallocm() to use the arena specified by the ALLOCM_ARENA(s) flag for
  68. allocation, not just deallocation.
  69. - Fix a data race for large allocation stats counters.
  70. - Fix a potential infinite loop during thread exit. This bug occurred on
  71. Solaris, and could affect other platforms with similar pthreads TSD
  72. implementations.
  73. - Don't junk-fill reallocations unless usable size changes. This fixes a
  74. violation of the *allocx()/*allocm() semantics.
  75. - Fix growing large reallocation to junk fill new space.
  76. - Fix huge deallocation to junk fill when munmap is disabled.
  77. - Change the default private namespace prefix from empty to je_, and change
  78. --with-private-namespace-prefix so that it prepends an additional prefix
  79. rather than replacing je_. This reduces the likelihood of applications
  80. which statically link jemalloc experiencing symbol name collisions.
  81. - Add missing private namespace mangling (relevant when
  82. --with-private-namespace is specified).
  83. - Add and use JEMALLOC_INLINE_C so that static inline functions are marked as
  84. static even for debug builds.
  85. - Add a missing mutex unlock in a malloc_init_hard() error path. In practice
  86. this error path is never executed.
  87. - Fix numerous bugs in malloc_strotumax() error handling/reporting. These
  88. bugs had no impact except for malformed inputs.
  89. - Fix numerous bugs in malloc_snprintf(). These bugs were not exercised by
  90. existing calls, so they had no impact.
  91. * 3.4.1 (October 20, 2013)
  92. Bug fixes:
  93. - Fix a race in the "arenas.extend" mallctl that could cause memory corruption
  94. of internal data structures and subsequent crashes.
  95. - Fix Valgrind integration flaws that caused Valgrind warnings about reads of
  96. uninitialized memory in:
  97. + arena chunk headers
  98. + internal zero-initialized data structures (relevant to tcache and prof
  99. code)
  100. - Preserve errno during the first allocation. A readlink(2) call during
  101. initialization fails unless /etc/malloc.conf exists, so errno was typically
  102. set during the first allocation prior to this fix.
  103. - Fix compilation warnings reported by gcc 4.8.1.
  104. * 3.4.0 (June 2, 2013)
  105. This version is essentially a small bugfix release, but the addition of
  106. aarch64 support requires that the minor version be incremented.
  107. Bug fixes:
  108. - Fix race-triggered deadlocks in chunk_record(). These deadlocks were
  109. typically triggered by multiple threads concurrently deallocating huge
  110. objects.
  111. New features:
  112. - Add support for the aarch64 architecture.
  113. * 3.3.1 (March 6, 2013)
  114. This version fixes bugs that are typically encountered only when utilizing
  115. custom run-time options.
  116. Bug fixes:
  117. - Fix a locking order bug that could cause deadlock during fork if heap
  118. profiling were enabled.
  119. - Fix a chunk recycling bug that could cause the allocator to lose track of
  120. whether a chunk was zeroed. On FreeBSD, NetBSD, and OS X, it could cause
  121. corruption if allocating via sbrk(2) (unlikely unless running with the
  122. "dss:primary" option specified). This was completely harmless on Linux
  123. unless using mlockall(2) (and unlikely even then, unless the
  124. --disable-munmap configure option or the "dss:primary" option was
  125. specified). This regression was introduced in 3.1.0 by the
  126. mlockall(2)/madvise(2) interaction fix.
  127. - Fix TLS-related memory corruption that could occur during thread exit if the
  128. thread never allocated memory. Only the quarantine and prof facilities were
  129. susceptible.
  130. - Fix two quarantine bugs:
  131. + Internal reallocation of the quarantined object array leaked the old
  132. array.
  133. + Reallocation failure for internal reallocation of the quarantined object
  134. array (very unlikely) resulted in memory corruption.
  135. - Fix Valgrind integration to annotate all internally allocated memory in a
  136. way that keeps Valgrind happy about internal data structure access.
  137. - Fix building for s390 systems.
  138. * 3.3.0 (January 23, 2013)
  139. This version includes a few minor performance improvements in addition to the
  140. listed new features and bug fixes.
  141. New features:
  142. - Add clipping support to lg_chunk option processing.
  143. - Add the --enable-ivsalloc option.
  144. - Add the --without-export option.
  145. - Add the --disable-zone-allocator option.
  146. Bug fixes:
  147. - Fix "arenas.extend" mallctl to output the number of arenas.
  148. - Fix chunk_recycle() to unconditionally inform Valgrind that returned memory
  149. is undefined.
  150. - Fix build break on FreeBSD related to alloca.h.
  151. * 3.2.0 (November 9, 2012)
  152. In addition to a couple of bug fixes, this version modifies page run
  153. allocation and dirty page purging algorithms in order to better control
  154. page-level virtual memory fragmentation.
  155. Incompatible changes:
  156. - Change the "opt.lg_dirty_mult" default from 5 to 3 (32:1 to 8:1).
  157. Bug fixes:
  158. - Fix dss/mmap allocation precedence code to use recyclable mmap memory only
  159. after primary dss allocation fails.
  160. - Fix deadlock in the "arenas.purge" mallctl. This regression was introduced
  161. in 3.1.0 by the addition of the "arena.<i>.purge" mallctl.
  162. * 3.1.0 (October 16, 2012)
  163. New features:
  164. - Auto-detect whether running inside Valgrind, thus removing the need to
  165. manually specify MALLOC_CONF=valgrind:true.
  166. - Add the "arenas.extend" mallctl, which allows applications to create
  167. manually managed arenas.
  168. - Add the ALLOCM_ARENA() flag for {,r,d}allocm().
  169. - Add the "opt.dss", "arena.<i>.dss", and "stats.arenas.<i>.dss" mallctls,
  170. which provide control over dss/mmap precedence.
  171. - Add the "arena.<i>.purge" mallctl, which obsoletes "arenas.purge".
  172. - Define LG_QUANTUM for hppa.
  173. Incompatible changes:
  174. - Disable tcache by default if running inside Valgrind, in order to avoid
  175. making unallocated objects appear reachable to Valgrind.
  176. - Drop const from malloc_usable_size() argument on Linux.
  177. Bug fixes:
  178. - Fix heap profiling crash if sampled object is freed via realloc(p, 0).
  179. - Remove const from __*_hook variable declarations, so that glibc can modify
  180. them during process forking.
  181. - Fix mlockall(2)/madvise(2) interaction.
  182. - Fix fork(2)-related deadlocks.
  183. - Fix error return value for "thread.tcache.enabled" mallctl.
  184. * 3.0.0 (May 11, 2012)
  185. Although this version adds some major new features, the primary focus is on
  186. internal code cleanup that facilitates maintainability and portability, most
  187. of which is not reflected in the ChangeLog. This is the first release to
  188. incorporate substantial contributions from numerous other developers, and the
  189. result is a more broadly useful allocator (see the git revision history for
  190. contribution details). Note that the license has been unified, thanks to
  191. Facebook granting a license under the same terms as the other copyright
  192. holders (see COPYING).
  193. New features:
  194. - Implement Valgrind support, redzones, and quarantine.
  195. - Add support for additional platforms:
  196. + FreeBSD
  197. + Mac OS X Lion
  198. + MinGW
  199. + Windows (no support yet for replacing the system malloc)
  200. - Add support for additional architectures:
  201. + MIPS
  202. + SH4
  203. + Tilera
  204. - Add support for cross compiling.
  205. - Add nallocm(), which rounds a request size up to the nearest size class
  206. without actually allocating.
  207. - Implement aligned_alloc() (blame C11).
  208. - Add the "thread.tcache.enabled" mallctl.
  209. - Add the "opt.prof_final" mallctl.
  210. - Update pprof (from gperftools 2.0).
  211. - Add the --with-mangling option.
  212. - Add the --disable-experimental option.
  213. - Add the --disable-munmap option, and make it the default on Linux.
  214. - Add the --enable-mremap option, which disables use of mremap(2) by default.
  215. Incompatible changes:
  216. - Enable stats by default.
  217. - Enable fill by default.
  218. - Disable lazy locking by default.
  219. - Rename the "tcache.flush" mallctl to "thread.tcache.flush".
  220. - Rename the "arenas.pagesize" mallctl to "arenas.page".
  221. - Change the "opt.lg_prof_sample" default from 0 to 19 (1 B to 512 KiB).
  222. - Change the "opt.prof_accum" default from true to false.
  223. Removed features:
  224. - Remove the swap feature, including the "config.swap", "swap.avail",
  225. "swap.prezeroed", "swap.nfds", and "swap.fds" mallctls.
  226. - Remove highruns statistics, including the
  227. "stats.arenas.<i>.bins.<j>.highruns" and
  228. "stats.arenas.<i>.lruns.<j>.highruns" mallctls.
  229. - As part of small size class refactoring, remove the "opt.lg_[qc]space_max",
  230. "arenas.cacheline", "arenas.subpage", "arenas.[tqcs]space_{min,max}", and
  231. "arenas.[tqcs]bins" mallctls.
  232. - Remove the "arenas.chunksize" mallctl.
  233. - Remove the "opt.lg_prof_tcmax" option.
  234. - Remove the "opt.lg_prof_bt_max" option.
  235. - Remove the "opt.lg_tcache_gc_sweep" option.
  236. - Remove the --disable-tiny option, including the "config.tiny" mallctl.
  237. - Remove the --enable-dynamic-page-shift configure option.
  238. - Remove the --enable-sysv configure option.
  239. Bug fixes:
  240. - Fix a statistics-related bug in the "thread.arena" mallctl that could cause
  241. invalid statistics and crashes.
  242. - Work around TLS deallocation via free() on Linux. This bug could cause
  243. write-after-free memory corruption.
  244. - Fix a potential deadlock that could occur during interval- and
  245. growth-triggered heap profile dumps.
  246. - Fix large calloc() zeroing bugs due to dropping chunk map unzeroed flags.
  247. - Fix chunk_alloc_dss() to stop claiming memory is zeroed. This bug could
  248. cause memory corruption and crashes with --enable-dss specified.
  249. - Fix fork-related bugs that could cause deadlock in children between fork
  250. and exec.
  251. - Fix malloc_stats_print() to honor 'b' and 'l' in the opts parameter.
  252. - Fix realloc(p, 0) to act like free(p).
  253. - Do not enforce minimum alignment in memalign().
  254. - Check for NULL pointer in malloc_usable_size().
  255. - Fix an off-by-one heap profile statistics bug that could be observed in
  256. interval- and growth-triggered heap profiles.
  257. - Fix the "epoch" mallctl to update cached stats even if the passed in epoch
  258. is 0.
  259. - Fix bin->runcur management to fix a layout policy bug. This bug did not
  260. affect correctness.
  261. - Fix a bug in choose_arena_hard() that potentially caused more arenas to be
  262. initialized than necessary.
  263. - Add missing "opt.lg_tcache_max" mallctl implementation.
  264. - Use glibc allocator hooks to make mixed allocator usage less likely.
  265. - Fix build issues for --disable-tcache.
  266. - Don't mangle pthread_create() when --with-private-namespace is specified.
  267. * 2.2.5 (November 14, 2011)
  268. Bug fixes:
  269. - Fix huge_ralloc() race when using mremap(2). This is a serious bug that
  270. could cause memory corruption and/or crashes.
  271. - Fix huge_ralloc() to maintain chunk statistics.
  272. - Fix malloc_stats_print(..., "a") output.
  273. * 2.2.4 (November 5, 2011)
  274. Bug fixes:
  275. - Initialize arenas_tsd before using it. This bug existed for 2.2.[0-3], as
  276. well as for --disable-tls builds in earlier releases.
  277. - Do not assume a 4 KiB page size in test/rallocm.c.
  278. * 2.2.3 (August 31, 2011)
  279. This version fixes numerous bugs related to heap profiling.
  280. Bug fixes:
  281. - Fix a prof-related race condition. This bug could cause memory corruption,
  282. but only occurred in non-default configurations (prof_accum:false).
  283. - Fix off-by-one backtracing issues (make sure that prof_alloc_prep() is
  284. excluded from backtraces).
  285. - Fix a prof-related bug in realloc() (only triggered by OOM errors).
  286. - Fix prof-related bugs in allocm() and rallocm().
  287. - Fix prof_tdata_cleanup() for --disable-tls builds.
  288. - Fix a relative include path, to fix objdir builds.
  289. * 2.2.2 (July 30, 2011)
  290. Bug fixes:
  291. - Fix a build error for --disable-tcache.
  292. - Fix assertions in arena_purge() (for real this time).
  293. - Add the --with-private-namespace option. This is a workaround for symbol
  294. conflicts that can inadvertently arise when using static libraries.
  295. * 2.2.1 (March 30, 2011)
  296. Bug fixes:
  297. - Implement atomic operations for x86/x64. This fixes compilation failures
  298. for versions of gcc that are still in wide use.
  299. - Fix an assertion in arena_purge().
  300. * 2.2.0 (March 22, 2011)
  301. This version incorporates several improvements to algorithms and data
  302. structures that tend to reduce fragmentation and increase speed.
  303. New features:
  304. - Add the "stats.cactive" mallctl.
  305. - Update pprof (from google-perftools 1.7).
  306. - Improve backtracing-related configuration logic, and add the
  307. --disable-prof-libgcc option.
  308. Bug fixes:
  309. - Change default symbol visibility from "internal", to "hidden", which
  310. decreases the overhead of library-internal function calls.
  311. - Fix symbol visibility so that it is also set on OS X.
  312. - Fix a build dependency regression caused by the introduction of the .pic.o
  313. suffix for PIC object files.
  314. - Add missing checks for mutex initialization failures.
  315. - Don't use libgcc-based backtracing except on x64, where it is known to work.
  316. - Fix deadlocks on OS X that were due to memory allocation in
  317. pthread_mutex_lock().
  318. - Heap profiling-specific fixes:
  319. + Fix memory corruption due to integer overflow in small region index
  320. computation, when using a small enough sample interval that profiling
  321. context pointers are stored in small run headers.
  322. + Fix a bootstrap ordering bug that only occurred with TLS disabled.
  323. + Fix a rallocm() rsize bug.
  324. + Fix error detection bugs for aligned memory allocation.
  325. * 2.1.3 (March 14, 2011)
  326. Bug fixes:
  327. - Fix a cpp logic regression (due to the "thread.{de,}allocatedp" mallctl fix
  328. for OS X in 2.1.2).
  329. - Fix a "thread.arena" mallctl bug.
  330. - Fix a thread cache stats merging bug.
  331. * 2.1.2 (March 2, 2011)
  332. Bug fixes:
  333. - Fix "thread.{de,}allocatedp" mallctl for OS X.
  334. - Add missing jemalloc.a to build system.
  335. * 2.1.1 (January 31, 2011)
  336. Bug fixes:
  337. - Fix aligned huge reallocation (affected allocm()).
  338. - Fix the ALLOCM_LG_ALIGN macro definition.
  339. - Fix a heap dumping deadlock.
  340. - Fix a "thread.arena" mallctl bug.
  341. * 2.1.0 (December 3, 2010)
  342. This version incorporates some optimizations that can't quite be considered
  343. bug fixes.
  344. New features:
  345. - Use Linux's mremap(2) for huge object reallocation when possible.
  346. - Avoid locking in mallctl*() when possible.
  347. - Add the "thread.[de]allocatedp" mallctl's.
  348. - Convert the manual page source from roff to DocBook, and generate both roff
  349. and HTML manuals.
  350. Bug fixes:
  351. - Fix a crash due to incorrect bootstrap ordering. This only impacted
  352. --enable-debug --enable-dss configurations.
  353. - Fix a minor statistics bug for mallctl("swap.avail", ...).
  354. * 2.0.1 (October 29, 2010)
  355. Bug fixes:
  356. - Fix a race condition in heap profiling that could cause undefined behavior
  357. if "opt.prof_accum" were disabled.
  358. - Add missing mutex unlocks for some OOM error paths in the heap profiling
  359. code.
  360. - Fix a compilation error for non-C99 builds.
  361. * 2.0.0 (October 24, 2010)
  362. This version focuses on the experimental *allocm() API, and on improved
  363. run-time configuration/introspection. Nonetheless, numerous performance
  364. improvements are also included.
  365. New features:
  366. - Implement the experimental {,r,s,d}allocm() API, which provides a superset
  367. of the functionality available via malloc(), calloc(), posix_memalign(),
  368. realloc(), malloc_usable_size(), and free(). These functions can be used to
  369. allocate/reallocate aligned zeroed memory, ask for optional extra memory
  370. during reallocation, prevent object movement during reallocation, etc.
  371. - Replace JEMALLOC_OPTIONS/JEMALLOC_PROF_PREFIX with MALLOC_CONF, which is
  372. more human-readable, and more flexible. For example:
  373. JEMALLOC_OPTIONS=AJP
  374. is now:
  375. MALLOC_CONF=abort:true,fill:true,stats_print:true
  376. - Port to Apple OS X. Sponsored by Mozilla.
  377. - Make it possible for the application to control thread-->arena mappings via
  378. the "thread.arena" mallctl.
  379. - Add compile-time support for all TLS-related functionality via pthreads TSD.
  380. This is mainly of interest for OS X, which does not support TLS, but has a
  381. TSD implementation with similar performance.
  382. - Override memalign() and valloc() if they are provided by the system.
  383. - Add the "arenas.purge" mallctl, which can be used to synchronously purge all
  384. dirty unused pages.
  385. - Make cumulative heap profiling data optional, so that it is possible to
  386. limit the amount of memory consumed by heap profiling data structures.
  387. - Add per thread allocation counters that can be accessed via the
  388. "thread.allocated" and "thread.deallocated" mallctls.
  389. Incompatible changes:
  390. - Remove JEMALLOC_OPTIONS and malloc_options (see MALLOC_CONF above).
  391. - Increase default backtrace depth from 4 to 128 for heap profiling.
  392. - Disable interval-based profile dumps by default.
  393. Bug fixes:
  394. - Remove bad assertions in fork handler functions. These assertions could
  395. cause aborts for some combinations of configure settings.
  396. - Fix strerror_r() usage to deal with non-standard semantics in GNU libc.
  397. - Fix leak context reporting. This bug tended to cause the number of contexts
  398. to be underreported (though the reported number of objects and bytes were
  399. correct).
  400. - Fix a realloc() bug for large in-place growing reallocation. This bug could
  401. cause memory corruption, but it was hard to trigger.
  402. - Fix an allocation bug for small allocations that could be triggered if
  403. multiple threads raced to create a new run of backing pages.
  404. - Enhance the heap profiler to trigger samples based on usable size, rather
  405. than request size.
  406. - Fix a heap profiling bug due to sometimes losing track of requested object
  407. size for sampled objects.
  408. * 1.0.3 (August 12, 2010)
  409. Bug fixes:
  410. - Fix the libunwind-based implementation of stack backtracing (used for heap
  411. profiling). This bug could cause zero-length backtraces to be reported.
  412. - Add a missing mutex unlock in library initialization code. If multiple
  413. threads raced to initialize malloc, some of them could end up permanently
  414. blocked.
  415. * 1.0.2 (May 11, 2010)
  416. Bug fixes:
  417. - Fix junk filling of large objects, which could cause memory corruption.
  418. - Add MAP_NORESERVE support for chunk mapping, because otherwise virtual
  419. memory limits could cause swap file configuration to fail. Contributed by
  420. Jordan DeLong.
  421. * 1.0.1 (April 14, 2010)
  422. Bug fixes:
  423. - Fix compilation when --enable-fill is specified.
  424. - Fix threads-related profiling bugs that affected accuracy and caused memory
  425. to be leaked during thread exit.
  426. - Fix dirty page purging race conditions that could cause crashes.
  427. - Fix crash in tcache flushing code during thread destruction.
  428. * 1.0.0 (April 11, 2010)
  429. This release focuses on speed and run-time introspection. Numerous
  430. algorithmic improvements make this release substantially faster than its
  431. predecessors.
  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. Removed features:
  450. - Remove the dynamic arena rebalancing code, since thread-specific caching
  451. reduces its utility.
  452. Bug fixes:
  453. - Modify chunk allocation to work when address space layout randomization
  454. (ASLR) is in use.
  455. - Fix thread cleanup bugs related to TLS destruction.
  456. - Handle 0-size allocation requests in posix_memalign().
  457. - Fix a chunk leak. The leaked chunks were never touched, so this impacted
  458. virtual memory usage, but not physical memory usage.
  459. * linux_2008082[78]a (August 27/28, 2008)
  460. These snapshot releases are the simple result of incorporating Linux-specific
  461. support into the FreeBSD malloc sources.
  462. --------------------------------------------------------------------------------
  463. vim:filetype=text:textwidth=80