03c2237af3
Make malloc_stats_print() a public symbol, and make it repeatedly callable.
Jason Evans
2010-01-03 12:10:42 -08:00
9ad48230ed
Simplify JEMALLOC_ATTR_* macros to become JEMALLOC_ATTR().
Jason Evans
2010-01-03 11:59:20 -08:00
bf10ae64a7
Build libjemalloc_pic.a.
Jason Evans
2010-01-03 11:59:19 -08:00
0b2368a6a2
Add the COPYING file, and consolidate copyright/licensing information.
Jason Evans
2010-01-03 11:59:14 -08:00
41e008b87d
Fix the 'clean' build target to delete binaries.
Jason Evans
2009-12-29 00:09:15 -08:00
e888879e9c
Implement per size class stats collection for large objects.
Jason Evans
2009-12-29 00:09:15 -08:00
45c128d1a9
Base maximum dirty page count on proportion of active memory.
Jason Evans
2009-12-29 00:09:15 -08:00
6c8b13bf43
Update description of --with-rpath.
Jason Evans
2009-12-29 00:09:15 -08:00
94ad2b57c3
Use "lg" prefix rather than "2pow" suffix to indicate base 2 logarithms.
Jason Evans
2009-12-29 00:09:15 -08:00
d64d4448cd
Modify pthread_create() wrapper such that isthreaded is only set once.
Jason Evans
2009-12-29 00:09:15 -08:00
f251814779
Handle 0-size allocation requests in posix_memalign().
Jason Evans
2009-12-29 00:09:15 -08:00
84cbbcb90a
Convert thread-specific caching from magazines, and implement incremental GC.
Jason Evans
2009-12-29 00:09:15 -08:00
b2378168a4
Add support for medium size classes, [4KiB..32KiB], 2KiB apart by default.
Jason Evans
2009-12-29 00:09:15 -08:00
6d7bb5357a
Remove opt_dss and opt_mmap, such that if DSS allocation is enabled, both DSS and heap allocation are always enabled.
Jason Evans
2009-12-29 00:09:15 -08:00
5463a5298d
Streamline the fast path for magazine-based allocation/deallocation.
Jason Evans
2009-12-29 00:09:15 -08:00
3ee7a5c5b0
Remove the dynamic rebalancing code, since magazines reduce its utility.
Jason Evans
2009-12-29 00:09:15 -08:00
90895cf859
Add --with-jemalloc-prefix, which supports API mangling.
Jason Evans
2009-12-29 00:09:15 -08:00
bca042dfeb
Use __restrict rather than restrict.
Jason Evans
2009-12-29 00:09:15 -08:00
87704ea339
Make sure that there are no more than 256 size clases, since size2bin can only encode bin indices in [0..255].
Jason Evans
2009-11-12 17:57:57 -08:00
1517cc6df7
Integrate architecture portability fixes.
Jason Evans
2009-11-09 15:25:02 -08:00
d3068c3f46
_pt_thread_death_internal(), which is part of Linux's nptl pthreads implementation, calls free() after calling TSD destructors. This was causing a crash during thread exit, since the magazine rack was no longer valid for the thread. Fix this by using a special mag_rack value to indicate that deallocation should bypass the magazine machinery.
Jason Evans
2009-11-09 14:58:12 -08:00
6f89d4b806
Modify chunk_alloc_mmap() to support address space layout randomization (ASLR).
Jason Evans
2009-11-09 14:58:12 -08:00
a25d0a8a72
Update assertions in realloc() and free() to allow for deallocation during initializtion.
Jason Evans
2009-11-09 14:57:38 -08:00
662a017c1d
Integrate mtrgraph and mtrplay.
Jason Evans
2009-07-01 19:24:31 -07:00
f3340ca8d5
Add configure tests for CFLAGS settings.
Jason Evans
2009-06-30 16:17:05 -07:00
b8f0a65173
Fix various compiler warnings.
Jason Evans
2009-06-29 09:41:43 -07:00
a9b0125e97
Minor documentation and comment cleanups.
Jason Evans
2009-06-26 16:34:13 -07:00
cc00a15770
Clean up the manpage and conditionalize various portions according to how jemalloc is configured.
Jason Evans
2009-06-25 18:06:48 -07:00
b7924f50c0
Implement configuration system.
Jason Evans
2009-06-23 19:01:18 -07:00
4450b830b6
Merge FreeBSD's malloc(3) and posix_memalign(3) manpages to create jemalloc(3).
Jason Evans
2009-06-22 17:44:39 -07:00
804c9ec3af
Fix various namespace issues.
Jason Evans
2009-06-22 17:44:33 -07:00
c9658dd35c
Merge code from the original jemalloc_linux port.
Jason Evans
2009-06-22 14:44:08 -07:00
289053c95b
Import pristine FreeBSD sources.
Jason Evans
2009-06-22 12:08:42 -07:00