ticki
|
ba58a65f15
Introduce double_push, fix #10
|
vor 8 Jahren |
ticki
|
a322cb5f18
Short circuit in case of empty block (fix #12)
|
vor 8 Jahren |
ticki
|
0c7b63819c
Temporarily disable inplace reallocation for `reserve`, fix #9
|
vor 8 Jahren |
ticki
|
638e861b65
Amend nilset's commit
|
vor 8 Jahren |
ticki
|
1645a13385
Merge branch 'assertions' of https://github.com/NilSet/ralloc
|
vor 8 Jahren |
Tommie Levy
|
fbcf9eb462
Add assertions that do not alloc on failure
|
vor 8 Jahren |
ticki
|
d6f871535b
Fix OOB in `alloc`
|
vor 8 Jahren |
ticki
|
146a5db98f
Add thread local allocators, BRK locks, platform independency, lock reuse, local allocators, more tests, abort-as-panic, additional benches, provide an Allocator struct, memleak detection, fix bugs related to the is_empty function, micro caches (implemented, but not wired up), a prelude, allocator specific OOM handler, fix bound checks, Leak trait, fix bug in Mutex.
|
vor 8 Jahren |
ticki
|
fc19fb6de1
Inline smaller functions, update README, add benchmarks
|
vor 9 Jahren |
ticki
|
b68418f6f9
Add Vec<Box<T>> test
|
vor 9 Jahren |
ticki
|
8b50a1abdb
Adjust BRK factors, fix bug due to delimiting empty block.
|
vor 9 Jahren |
ticki
|
7f66ee45a0
Add instructions for usage
|
vor 9 Jahren |
ticki
|
4b65baa341
Ralloc is now ready for production use: Fix all currently known issues, rewrite large parts of the allocator, move unsafes to seperate abstractions (e.g., remove pointer arithemtics), add direct method, add vector primitive, update README, add TODO, add pointer primitive, more debug_assertions, more tests
|
vor 9 Jahren |
ticki
|
7e2039cf02
Fix memory leaks, fix OOB bug when freeing the first block, rename BlockList to BlockVec, add memory leak assertions, allow inplace reallocations in segment end, add segment bound checks, improve initial allocation, and more stuff I forget.
|
vor 9 Jahren |
Jeremy Soller
|
0ac228d16d
Fix cfg flags for Redox
|
vor 9 Jahren |
ticki
|
8266f890d3
Enable inplace reallocation (buffer extension) again
|
vor 9 Jahren |
ticki
|
413aaeb77b
Merge branch 'master' of github.com:redox-os/ralloc
|
vor 9 Jahren |
ticki
|
377ac02d18
Fix numerous bugs, temporarily disable inplace reallocation, add debug dumps
|
vor 9 Jahren |
ticki
|
c541cec1d6
Better debug assertions and consistency checks
|
vor 9 Jahren |
ticki
|
6799cb9b37
Fix segfault, due to not initializing the pointer when reserving extra capacity
|
vor 9 Jahren |
ticki
|
819ed484c3
Avoid certain recursive allocations
|
vor 9 Jahren |
ticki
|
a48df74251
Fix bug in `reserve`
|
vor 9 Jahren |
ticki
|
8c7ccdc0af
Represent occupied block entries through empty blocks
|
vor 9 Jahren |
ticki
|
bfa132473f
Fix bug making allocation occupied blocks possible, update documentation, fix certain arithmetic overflows, add mathematical reasoning on integer bounds
|
vor 9 Jahren |
ticki
|
795aa19906
Fix Block tests
|
vor 9 Jahren |
ticki
|
537920f98d
Alignment assertions
|
vor 9 Jahren |
ticki
|
15b186fad9
sys_yield for mutex locking
|
vor 9 Jahren |
ticki
|
4ef79fdcf3
Remove libextra dependency
|
vor 9 Jahren |
ticki
|
a022e08f1f
Allocator is ready, provide linking symbols, complete bookkeeping, proper merges, safe multithreading, OOM handling (+ custom handlers), system primitives, add extensive testing.
|
vor 9 Jahren |
ticki
|
c4f7593838
Fix PartialEq
|
vor 9 Jahren |