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 година |
ticki
|
795aa19906
Fix Block tests
|
пре 9 година |
ticki
|
537920f98d
Alignment assertions
|
пре 9 година |
ticki
|
15b186fad9
sys_yield for mutex locking
|
пре 9 година |
ticki
|
4ef79fdcf3
Remove libextra dependency
|
пре 9 година |
ticki
|
a022e08f1f
Allocator is ready, provide linking symbols, complete bookkeeping, proper merges, safe multithreading, OOM handling (+ custom handlers), system primitives, add extensive testing.
|
пре 9 година |
ticki
|
c4f7593838
Fix PartialEq
|
пре 9 година |