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