ticki
|
ba58a65f15
Introduce double_push, fix #10
|
9 ani în urmă |
ticki
|
a322cb5f18
Short circuit in case of empty block (fix #12)
|
9 ani în urmă |
ticki
|
0c7b63819c
Temporarily disable inplace reallocation for `reserve`, fix #9
|
9 ani în urmă |
ticki
|
638e861b65
Amend nilset's commit
|
9 ani în urmă |
ticki
|
1645a13385
Merge branch 'assertions' of https://github.com/NilSet/ralloc
|
9 ani în urmă |
Tommie Levy
|
fbcf9eb462
Add assertions that do not alloc on failure
|
9 ani în urmă |
ticki
|
d6f871535b
Fix OOB in `alloc`
|
9 ani în urmă |
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.
|
9 ani în urmă |
ticki
|
fc19fb6de1
Inline smaller functions, update README, add benchmarks
|
9 ani în urmă |
ticki
|
b68418f6f9
Add Vec<Box<T>> test
|
9 ani în urmă |
ticki
|
8b50a1abdb
Adjust BRK factors, fix bug due to delimiting empty block.
|
9 ani în urmă |
ticki
|
7f66ee45a0
Add instructions for usage
|
9 ani în urmă |
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
|
9 ani în urmă |
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.
|
9 ani în urmă |
Jeremy Soller
|
0ac228d16d
Fix cfg flags for Redox
|
9 ani în urmă |
ticki
|
8266f890d3
Enable inplace reallocation (buffer extension) again
|
9 ani în urmă |
ticki
|
413aaeb77b
Merge branch 'master' of github.com:redox-os/ralloc
|
9 ani în urmă |
ticki
|
377ac02d18
Fix numerous bugs, temporarily disable inplace reallocation, add debug dumps
|
9 ani în urmă |
ticki
|
c541cec1d6
Better debug assertions and consistency checks
|
9 ani în urmă |
ticki
|
6799cb9b37
Fix segfault, due to not initializing the pointer when reserving extra capacity
|
9 ani în urmă |
ticki
|
819ed484c3
Avoid certain recursive allocations
|
9 ani în urmă |
ticki
|
a48df74251
Fix bug in `reserve`
|
9 ani în urmă |
ticki
|
8c7ccdc0af
Represent occupied block entries through empty blocks
|
9 ani în urmă |
ticki
|
bfa132473f
Fix bug making allocation occupied blocks possible, update documentation, fix certain arithmetic overflows, add mathematical reasoning on integer bounds
|
9 ani în urmă |
ticki
|
795aa19906
Fix Block tests
|
9 ani în urmă |
ticki
|
537920f98d
Alignment assertions
|
9 ani în urmă |
ticki
|
15b186fad9
sys_yield for mutex locking
|
9 ani în urmă |
ticki
|
4ef79fdcf3
Remove libextra dependency
|
9 ani în urmă |
ticki
|
a022e08f1f
Allocator is ready, provide linking symbols, complete bookkeeping, proper merges, safe multithreading, OOM handling (+ custom handlers), system primitives, add extensive testing.
|
9 ani în urmă |
ticki
|
c4f7593838
Fix PartialEq
|
9 ani în urmă |