This website requires JavaScript.
b267d0f86a
Add the thread.arena mallctl.
Jason Evans
2010-08-13 15:42:29 -07:00
e139ab8b4f
Merge branch 'dev'
Jason Evans
2010-08-12 12:11:58 -07:00
dcd15098a8
Move assert() calls up in arena_run_reg_alloc().
Jason Evans
2010-08-05 12:13:42 -07:00
2541e1b083
Add a missing mutex unlock in malloc_init_hard().
Jason Evans
2010-07-22 11:35:59 -07:00
b43b7750a6
Fix the libunwind version of prof_backtrace().
Jason Evans
2010-06-04 15:10:43 -07:00
e13243eb63
Merge branch 'dev'
Jason Evans
2010-05-11 18:24:19 -07:00
7013d10a9e
Avoid unnecessary isalloc() calls.
Jason Evans
2010-05-11 18:17:02 -07:00
ed3d152ea0
Fix next_arena initialization.
Jason Evans
2010-05-11 12:00:22 -07:00
2206e1acc1
Add MAP_NORESERVE support.
Jordan DeLong
2010-05-10 14:17:00 -07:00
ecea0f6125
Fix junk filling of cached large objects.
Jason Evans
2010-04-28 12:00:59 -07:00
1af6ac42e3
Merge branch 'dev'
Jason Evans
2010-04-14 15:07:37 -07:00
5055f4516c
Fix tcache crash during thread cleanup.
Jason Evans
2010-04-14 11:27:13 -07:00
38cda690dd
Fix profiling regression caused by bugfix.
Jason Evans
2010-04-14 11:24:45 -07:00
6d68ed6492
Remove autom4te.cache in distclean (not relclean).
Jason Evans
2010-04-13 22:01:55 -07:00
8d4203c72d
Fix arena chunk purge/dealloc race conditions.
Jason Evans
2010-04-13 20:53:21 -07:00
5065156f3f
Fix threads-related profiling bugs.
Jason Evans
2010-04-13 16:13:54 -07:00
1bb602125c
Update stale JEMALLOC_FILL code.
Jason Evans
2010-04-13 16:06:22 -07:00
5523399169
Update documentation.
Jason Evans
2010-04-11 19:02:43 -07:00
5fe764f83f
Generalize ExtractSymbols optimization (pprof).
Jason Evans
2010-04-08 23:23:53 -07:00
799ca0b68d
Revert re-addition of purge_lock.
Jason Evans
2010-04-08 20:31:58 -07:00
68f91893bd
Fix P/p reporting in stats_print().
Jason Evans
2010-04-08 19:14:51 -07:00
3395860921
Don't build with -march=native.
Jason Evans
2010-04-07 23:41:00 -07:00
0656ec0eb4
Fix build system problems.
Jason Evans
2010-04-07 23:37:35 -07:00
af366593a4
Improve ExtractSymbols (pprof).
Jason Evans
2010-04-07 19:52:15 -07:00
7cb5b5ea21
Fix error path in prof_dump().
Jason Evans
2010-04-06 12:21:46 -07:00
fd88bd577e
Report E/e option state in jemalloc_stats_print().
Jason Evans
2010-04-06 12:20:23 -07:00
ec5344eba2
Optimize ExtractSymbols (pprof).
Jason Evans
2010-04-02 18:43:28 -07:00
a53610130d
Use addr2line only for --line option (pprof).
Jason Evans
2010-04-02 16:05:37 -07:00
a91f210929
Import pprof from google-perftools, svn r91.
Jason Evans
2010-04-02 13:50:53 -07:00
18ad8234b6
Don't disable leak reporting due to sampling.
Jason Evans
2010-04-02 13:48:39 -07:00
f18c982001
Add sampling activation/deactivation control.
Jason Evans
2010-03-31 18:43:24 -07:00
a02fc08ec9
Make interval-triggered profile dumping optional.
Jason Evans
2010-03-31 17:35:51 -07:00
0b270a991d
Reduce statistical heap sampling memory overhead.
Jason Evans
2010-03-31 16:45:04 -07:00
169cbc1ef7
Re-add purge_lock to funnel madvise(2) calls.
Jason Evans
2010-03-26 18:10:19 -07:00
c03a63d68d
Set/clear CHUNK_MAP_ZEROED in arena_chunk_purge().
Jason Evans
2010-03-22 11:45:01 -07:00
19b3d61892
Track dirty and clean runs separately.
Jason Evans
2010-03-18 20:36:40 -07:00
dafde14e08
Remove medium size classes.
Jason Evans
2010-03-17 16:27:39 -07:00
e69bee01de
Fix a run initialization race condition.
Jason Evans
2010-03-15 22:25:23 -07:00
f00bb7f132
Add assertions.
Jason Evans
2010-03-15 16:38:27 -07:00
6b5974403b
Widen malloc_stats_print() output columns.
Jason Evans
2010-03-15 15:50:48 -07:00
d9ef75fed4
arena_chunk_purge() arena->nactive fix.
Jason Evans
2010-03-15 12:43:07 -07:00
992242c545
Change xmallctl() --> CTL_GET() where possible.
Jason Evans
2010-03-14 19:55:32 -07:00
19b6a5537d
Fix malloc_stats_print() man page prototype.
Jason Evans
2010-03-14 19:52:26 -07:00
e00572b384
mmap()/munmap() without arena->lock or bin->lock.
Jason Evans
2010-03-14 19:43:56 -07:00
05b21be347
Purge dirty pages without arena->lock.
Jason Evans
2010-03-14 17:36:10 -07:00
86815df9dc
Push locks into arena bins.
Jason Evans
2010-03-13 20:32:56 -08:00
1e0a636c11
Simplify small object allocation/deallocation.
Jason Evans
2010-03-13 13:41:58 -08:00
3fa9a2fad8
Simplify tcache object caching.
Jason Evans
2010-03-07 15:34:14 -08:00
2caa4715ed
Modify dirty page purging algorithm.
Jason Evans
2010-03-04 21:35:07 -08:00
3c2d9c899c
Print version in malloc_stats_print().
Jason Evans
2010-03-03 17:55:03 -08:00
698805c525
Simplify malloc_message().
Jason Evans
2010-03-03 17:45:38 -08:00
cfeccd34a3
Fix various config/build issues.
Jason Evans
2010-03-03 15:48:20 -08:00
9df0215f9b
Move sampling init into prof_alloc_prep().
Jason Evans
2010-03-03 11:53:11 -08:00
ca6bd4f1c8
Add the --with-static-libunwind configure option.
Jason Evans
2010-03-02 14:12:58 -08:00
a40bc7afe8
Add release versioning support.
Jason Evans
2010-03-02 13:01:16 -08:00
22ca855e8f
Allow prof.dump mallctl to specify filename.
Jason Evans
2010-03-02 11:57:30 -08:00
74025c85bf
Edit rb documentation.
Jason Evans
2010-02-28 15:23:17 -08:00
b9477e782b
Implement sampling for heap profiling.
Jason Evans
2010-03-01 20:15:26 -08:00
f3ff75289b
Rewrite red-black trees.
Jason Evans
2010-02-28 15:00:18 -08:00
fbb504def6
Don't implicitly enable interval-based profiling.
Jason Evans
2010-02-16 15:46:57 -08:00
f894f74d36
Fix a bug in nmalloc stats.
Jason Evans
2010-02-12 14:46:37 -08:00
65aae2cf57
Fix a man page typo.
Jason Evans
2010-02-11 16:46:42 -08:00
3b5ee5e857
Fix #include ordering for mb.h.
Jason Evans
2010-02-11 15:56:23 -08:00
59e9be0f5f
Avoid extra dumping for JEMALLOC_OPTIONS=L.
Jason Evans
2010-02-11 15:18:17 -08:00
cd90fca928
Wrap mallctl* references with JEMALLOC_P().
Jason Evans
2010-02-11 14:55:25 -08:00
376b1529a3
Restructure source tree.
Jason Evans
2010-02-11 14:45:59 -08:00
fe5faa2cc5
Remove tracing (--enable-trace).
Jason Evans
2010-02-11 13:38:12 -08:00
d34f9e7e93
Implement interval-based heap profile dumping.
Jason Evans
2010-02-11 13:19:21 -08:00
b01a6c2057
Add JEMALLOC_PROF_PREFIX support.
Jason Evans
2010-02-11 10:25:36 -08:00
c717718115
Dump /proc/<pid>/maps in heap profiles.
Jason Evans
2010-02-11 09:25:56 -08:00
3383af6c2d
Fix a profiling bootstrap bug.
Jason Evans
2010-02-11 08:59:06 -08:00
b27805b363
Various heap profiling improvements.
Jason Evans
2010-02-10 18:15:53 -08:00
6109fe07a1
Implement allocation profiling and leack checking.
Jason Evans
2010-02-10 10:37:56 -08:00
13668262d1
Fix some comments and whitespace.
Jason Evans
2010-01-31 03:57:29 -08:00
990d10cefb
Fix large object stats collection bugs.
Jason Evans
2010-01-31 03:49:35 -08:00
a0bf242230
Fix bootstrapping crash.
Jason Evans
2010-01-29 14:30:41 -08:00
d8f565f239
Remove tcache bin sorting during flush.
Jason Evans
2010-01-29 13:37:31 -08:00
c66aaf1476
Statistics fixes and cleanup.
Jason Evans
2010-01-29 11:24:19 -08:00
4fb7f51337
Fix a chunk leak in chunk_alloc_mmap().
Jason Evans
2010-01-27 18:27:09 -08:00
95833311f1
madvise(..., MADV_{RANODOM,NOSYNC}) swap files.
Jason Evans
2010-01-27 13:45:21 -08:00
3c2343518c
Implement mallctl{nametomib,bymib}().
Jason Evans
2010-01-27 13:10:55 -08:00
fbbb624fc1
Simplify malloc_{pre,post}fork().
Jason Evans
2010-01-24 17:56:48 -08:00
68ddb6736d
Print merged arena stats iff multiple arenas.
Jason Evans
2010-01-24 17:21:47 -08:00
41631d0061
Modify chunk_alloc() to support optional zeroing.
Jason Evans
2010-01-24 17:13:07 -08:00
bc25a47ee0
Various minor cleanups.
Jason Evans
2010-01-24 16:41:01 -08:00
4201af0542
Add the --enable-swap configure option.
Jason Evans
2010-01-24 02:53:40 -08:00
ed1bf457fb
Add the w4opaque argument to numerous functions.
Jason Evans
2010-01-19 12:11:25 -08:00
b34e8684ec
Add merged arena stats printing.
Jason Evans
2010-01-17 17:35:19 -08:00
3363a841ca
Merge branch 'disable-tls'
Jason Evans
2010-01-17 15:51:35 -08:00
00b5c93347
Add the write4 parameter to malloc_stats_print().
Jason Evans
2010-01-17 15:49:25 -08:00
78d815c9de
Add the --disable-tls configure option.
Jason Evans
2010-01-17 14:06:20 -08:00
b0fd5016db
Add the --with-install-suffix configure option.
Jason Evans
2010-01-17 01:49:20 -08:00
bbaaecb729
Convert .hgignore to .gitignore.
Jason Evans
2010-01-16 22:41:23 -08:00
e476f8a161
Refactor jemalloc.c into multiple source files.
Jason Evans
2010-01-16 09:53:50 -08:00
64bd7661a8
Support malloc() even after tcache destruction has occurred, since other tsd destructors may run after tcache_tsd's.
Jason Evans
2010-01-12 18:13:39 -08:00
79a78691b6
Fix some other minor build system bugs.
Jason Evans
2010-01-03 16:17:55 -08:00
e9db6c92ab
Add the S/s JEMALLOC_OPTIONS flags to enable/disable tcache bin sorting.
Jason Evans
2010-01-03 16:17:52 -08:00
279e09d1ff
Enhance the H/h MALLOC_OPTIONS flags to control the number of tcache bin slots, rather than just enabling/disabling the tcache.
Jason Evans
2010-01-03 16:16:10 -08:00
3f3ecfb8e8
Enhance the G/g MALLOC_OPTIONS flags to control GC sweep interval, rather than just enabling/disabling GC.
Jason Evans
2010-01-03 14:45:26 -08:00
952b7d192b
Split run deallocation out of arena_dalloc_bin(), into arena_dalloc_bin_run(). Enhance bin run deallocation to avoid marking all pages as dirty, since the dirty bits are already correct for all but the first page, due to the use of arena_run_rc_{incr,decr}(). This tends to dramatically reduce the number of pages that are marked dirty.
Jason Evans
2010-01-03 12:10:47 -08:00