ticki
|
528a0a48b4
Add #[must_use]
|
преди 9 години |
Thomas Levy
|
7efceba641
Refactor reserve to take extra capacity needed
|
преди 9 години |
ticki
|
80f126cbf1
Remove the `leak` bound from `Mutex`
|
преди 9 години |
ticki
|
111e4e4965
Rewrite `insert` to fix various bugs in it
|
преди 9 години |
ticki
|
66cbc42050
Fix free_ind
|
преди 9 години |
ticki
|
4d3632533d
Simple visual logging system
|
преди 9 години |
ticki
|
ba58a65f15
Introduce double_push, fix #10
|
преди 9 години |
ticki
|
a322cb5f18
Short circuit in case of empty block (fix #12)
|
преди 9 години |
ticki
|
0c7b63819c
Temporarily disable inplace reallocation for `reserve`, fix #9
|
преди 9 години |
ticki
|
638e861b65
Amend nilset's commit
|
преди 9 години |
ticki
|
1645a13385
Merge branch 'assertions' of https://github.com/NilSet/ralloc
|
преди 9 години |
Tommie Levy
|
fbcf9eb462
Add assertions that do not alloc on failure
|
преди 9 години |
ticki
|
d6f871535b
Fix OOB in `alloc`
|
преди 9 години |
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 години |
ticki
|
fc19fb6de1
Inline smaller functions, update README, add benchmarks
|
преди 9 години |
ticki
|
b68418f6f9
Add Vec<Box<T>> test
|
преди 9 години |
ticki
|
8b50a1abdb
Adjust BRK factors, fix bug due to delimiting empty block.
|
преди 9 години |
ticki
|
7f66ee45a0
Add instructions for usage
|
преди 9 години |
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 години |
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 години |
Jeremy Soller
|
0ac228d16d
Fix cfg flags for Redox
|
преди 9 години |
ticki
|
8266f890d3
Enable inplace reallocation (buffer extension) again
|
преди 9 години |
ticki
|
413aaeb77b
Merge branch 'master' of github.com:redox-os/ralloc
|
преди 9 години |
ticki
|
377ac02d18
Fix numerous bugs, temporarily disable inplace reallocation, add debug dumps
|
преди 9 години |
ticki
|
c541cec1d6
Better debug assertions and consistency checks
|
преди 9 години |
ticki
|
6799cb9b37
Fix segfault, due to not initializing the pointer when reserving extra capacity
|
преди 9 години |
ticki
|
819ed484c3
Avoid certain recursive allocations
|
преди 9 години |
ticki
|
a48df74251
Fix bug in `reserve`
|
преди 9 години |
ticki
|
8c7ccdc0af
Represent occupied block entries through empty blocks
|
преди 9 години |
ticki
|
bfa132473f
Fix bug making allocation occupied blocks possible, update documentation, fix certain arithmetic overflows, add mathematical reasoning on integer bounds
|
преди 9 години |