Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
jemalloc_new
/
4731cd47f7168e70809d83c8569f501891ecffa1
/
src
/
chunk.c
4731cd4
Allow chunks to not be naturally aligned.
by Jason Evans
· 8 years ago
741967e
Remove CHUNK_ADDR2BASE() and CHUNK_ADDR2OFFSET().
by Jason Evans
· 8 years ago
760bf11
Add extent_dirty_[gs]et().
by Jason Evans
· 8 years ago
47613af
Convert rtree from per chunk to per page.
by Jason Evans
· 8 years ago
5c6be2b
Refactor chunk_purge_wrapper() to take extent argument.
by Jason Evans
· 8 years ago
0eb6f08
Refactor chunk_[de]commit_wrapper() to take extent arguments.
by Jason Evans
· 8 years ago
6c94470
Refactor chunk_dalloc_{cache,wrapper}() to take extent arguments.
by Jason Evans
· 8 years ago
de0305a
Add/use chunk_split_wrapper().
by Jason Evans
· 8 years ago
1ad0605
Add/use chunk_merge_wrapper().
by Jason Evans
· 8 years ago
384e88f
Add/use chunk_commit_wrapper().
by Jason Evans
· 8 years ago
56e0031
Add/use chunk_decommit_wrapper().
by Jason Evans
· 8 years ago
4d2d9ce
Merge chunk_alloc_base() into its only caller.
by Jason Evans
· 8 years ago
fc0372a
Replace extent_tree_szad_* with extent_heap_*.
by Jason Evans
· 8 years ago
ffa45a5
Use rtree rather than [sz]ad trees for chunk split/coalesce operations.
by Jason Evans
· 8 years ago
93e79c5
Remove redundant chunk argument from chunk_{,de,re}register().
by Jason Evans
· 8 years ago
d78846c
Replace extent_achunk_[gs]et() with extent_slab_[gs]et().
by Jason Evans
· 9 years ago
fae8344
Add extent_active_[gs]et().
by Jason Evans
· 9 years ago
b2a9fae
Set/unset rtree node for last chunk of extents.
by Jason Evans
· 9 years ago
8c9be3e
Refactor rtree to always use base_alloc() for node allocation.
by Jason Evans
· 9 years ago
db72272
Use rtree-based chunk lookups rather than pointer bit twiddling.
by Jason Evans
· 9 years ago
2d2b4e9
Add element acquire/release capabilities to rtree.
by Jason Evans
· 9 years ago
a7a6f5b
Rename extent_node_t to extent_t.
by Jason Evans
· 9 years ago
9a8add1
Remove Valgrind support.
by Jason Evans
· 9 years ago
c1e00ef
Resolve bootstrapping issues when embedded in FreeBSD libc.
by Jason Evans
· 8 years ago
04c3c0f
Add the stats.retained and stats.arenas.<i>.retained statistics.
by Jason Evans
· 9 years ago
b2c0d63
Add witness, a simple online locking validator.
by Jason Evans
· 9 years ago
ce7c0f9
Fix potential chunk leaks.
by Jason Evans
· 9 years ago
d412624
Move retaining out of default chunk hooks
by buchgr
· 9 years ago
767d850
Refactor arenas array (fixes deadlock).
by Jason Evans
· 9 years ago
c7a9a6c
Attempt mmap-based in-place huge reallocation.
by Jason Evans
· 9 years ago
9e1810c
Silence miscellaneous 64-to-32-bit data loss warnings.
by Jason Evans
· 9 years ago
9f4ee60
Refactor jemalloc_ffs*() into ffs_*().
by Jason Evans
· 9 years ago
56af64d
Fix a strict aliasing violation.
by Jason Evans
· 9 years ago
6ed18cb
Fix chunk_dalloc_arena() re: zeroing due to purge.
by Jason Evans
· 9 years ago
de249c8
Arena chunk decommit cleanups and fixes.
by Jason Evans
· 9 years ago
8fadb1a
Implement chunk hook support for page run commit/decommit.
by Jason Evans
· 9 years ago
b49a334
Generalize chunk management hooks.
by Jason Evans
· 9 years ago
d059b9d
Implement support for non-coalescing maps on MinGW.
by Jason Evans
· 9 years ago
aa28266
Revert to first-best-fit run/chunk allocation.
by Jason Evans
· 9 years ago
b946086
Use jemalloc_ffs() rather than ffs().
by Jason Evans
· 9 years ago
a1aaf94
Optimizations for Windows
by Matthijs
· 9 years ago
4f6f2b1
Fix two valgrind integration regressions.
by Jason Evans
· 9 years ago
8d6a3e8
Implement dynamic per arena control over dirty page purging.
by Jason Evans
· 10 years ago
04ca758
Fix a chunk_recycle() regression.
by Jason Evans
· 10 years ago
97c04a9
Use first-fit rather than first-best-fit run/chunk allocation.
by Jason Evans
· 10 years ago
5707d6f
Quantize szad trees by size class.
by Jason Evans
· 10 years ago
35e3fd9
Fix a compilation error and an incorrect assertion.
by Jason Evans
· 10 years ago
99bd94f
Fix chunk cache races.
by Jason Evans
· 10 years ago
738e089
Rename "dirty chunks" to "cached chunks".
by Jason Evans
· 10 years ago
339c2b2
Fix chunk_unmap() to propagate dirty state.
by Jason Evans
· 10 years ago
a4e1888
Simplify extent_node_t and add extent_node_init().
by Jason Evans
· 10 years ago
ee41ad4
Integrate whole chunks into unused dirty page purging machinery.
by Jason Evans
· 10 years ago
1eaf3b6
add missing check for new_addr chunk size
by Daniel Micay
· 10 years ago
cbf3a6d
Move centralized chunk management into arenas.
by Jason Evans
· 10 years ago
8d0e04d
Refactor rtree to be lock-free.
by Jason Evans
· 10 years ago
f500a10
Refactor base_alloc() to guarantee demand-zeroed memory.
by Jason Evans
· 10 years ago
8ddc932
Fix chunk_recycle()'s new_addr functionality.
by Jason Evans
· 10 years ago
5b8ed5b
Implement the prof.gdump mallctl.
by Jason Evans
· 10 years ago
0fd663e
Avoid pointless chunk_recycle() call.
by Jason Evans
· 10 years ago
24057f3
Fix an infinite recursion bug related to a0/tsd bootstrapping.
by Jason Evans
· 10 years ago
e12eaf9
Style and spelling fixes.
by Jason Evans
· 10 years ago
879e76a
teach the dss chunk allocator to handle new_addr
by Daniel Micay
· 10 years ago
c83bccd
Initialize chunks_mtx for all configurations.
by Jason Evans
· 10 years ago
8bb3198
Refactor/fix arenas manipulation.
by Jason Evans
· 10 years ago
155bfa7
Normalize size classes.
by Jason Evans
· 10 years ago
a95018e
Attempt to expand huge allocations in-place.
by Daniel Micay
· 10 years ago
551ebc4
Convert to uniform style: cond == false --> !cond
by Jason Evans
· 10 years ago
ff6a31d
Refactor chunk map.
by Qinfan Wu
· 10 years ago
e2deab7
Refactor huge allocation to be managed by arenas.
by Jason Evans
· 10 years ago
fb7fe50
Add support for user-specified chunk allocators/deallocators.
by aravind
· 11 years ago
bd87b01
Optimize Valgrind integration.
by Jason Evans
· 11 years ago
4d434ad
Make dss non-optional, and fix an "arena.<i>.dss" mallctl bug.
by Jason Evans
· 11 years ago
b954bc5
Convert rtree from (void *) to (uint8_t) storage.
by Jason Evans
· 11 years ago
b980cc7
Add rtree unit tests.
by Jason Evans
· 11 years ago
f1c3da8
Consistently use malloc_mutex_prefork().
by Jason Evans
· 11 years ago
d504477
Fix a compiler warning.
by Jason Evans
· 11 years ago
4f929aa
Fix another deadlock related to chunk_record().
by Jason Evans
· 12 years ago
741fbc6
Fix deadlock related to chunk_record().
by Jason Evans
· 12 years ago
0691275
Fix Valgrind integration.
by Jason Evans
· 12 years ago
a7a28c3
Fix a chunk recycling bug.
by Jason Evans
· 12 years ago
14a2c6a
Avoid validating freshly mapped memory.
by Jason Evans
· 12 years ago
1271185
Fix chunk_recycle() Valgrind integration.
by Jason Evans
· 12 years ago
12efefb
Fix dss/mmap allocation precedence code.
by Jason Evans
· 12 years ago
609ae59
Add arena-specific and selective dss allocation.
by Jason Evans
· 12 years ago
20f1fc9
Fix fork(2)-related deadlocks.
by Jason Evans
· 12 years ago
7de9276
Fix mlockall()/madvise() interaction.
by Jason Evans
· 12 years ago
374d26a
Fix chunk_recycle() to stop leaking trailing chunks.
by Jason Evans
· 12 years ago
de6fbdb
Fix chunk_alloc_mmap() bugs.
by Jason Evans
· 12 years ago
34a8cf6
Fix a base allocator deadlock.
by Jason Evans
· 13 years ago
f54166e
Add missing Valgrind annotations.
by Jason Evans
· 13 years ago
a8f8d75
Remove mmap_unaligned.
by Jason Evans
· 13 years ago
7ad54c1
Fix chunk allocation/deallocation bugs.
by Jason Evans
· 13 years ago
8f0e0eb
Fix a memory corruption bug in chunk_alloc_dss().
by Jason Evans
· 13 years ago
666c5bf
Add a pages_purge function to wrap madvise(JEMALLOC_MADV_PURGE) calls
by Mike Hommey
· 13 years ago
7ca0fdf
Disable munmap() if it causes VM map holes.
by Jason Evans
· 13 years ago
a1ee783
Rename labels.
by Jason Evans
· 13 years ago
eae2690
Add alignment support to chunk_alloc().
by Mike Hommey
· 13 years ago
ae4c7b4
Clean up *PAGE* macros.
by Jason Evans
· 13 years ago
cd9a134
Implement tsd.
by Jason Evans
· 13 years ago
4162627
Remove the swap feature.
by Jason Evans
· 13 years ago
Next »