ticki
|
2443f0e4bf
Move remove_at to Bookkeeper
|
9 anni fa |
Jeremy Soller
|
9867d262ad
Merge pull request #26 from redox-os/shim
|
9 anni fa |
Jeremy Soller
|
49840afd9a
Add shim
|
9 anni fa |
Thomas Levy
|
e681f6dd88
Make it all work. (#25)
|
9 anni fa |
ticki
|
8d8fec8a95
Add trailing empty blocks assertion
|
9 anni fa |
ticki
|
528a0a48b4
Add #[must_use]
|
9 anni fa |
Thomas Levy
|
7efceba641
Refactor reserve to take extra capacity needed
|
9 anni fa |
ticki
|
80f126cbf1
Remove the `leak` bound from `Mutex`
|
9 anni fa |
ticki
|
111e4e4965
Rewrite `insert` to fix various bugs in it
|
9 anni fa |
ticki
|
66cbc42050
Fix free_ind
|
9 anni fa |
ticki
|
4d3632533d
Simple visual logging system
|
9 anni fa |
ticki
|
ba58a65f15
Introduce double_push, fix #10
|
9 anni fa |
ticki
|
a322cb5f18
Short circuit in case of empty block (fix #12)
|
9 anni fa |
ticki
|
0c7b63819c
Temporarily disable inplace reallocation for `reserve`, fix #9
|
9 anni fa |
ticki
|
638e861b65
Amend nilset's commit
|
9 anni fa |
ticki
|
1645a13385
Merge branch 'assertions' of https://github.com/NilSet/ralloc
|
9 anni fa |
Tommie Levy
|
fbcf9eb462
Add assertions that do not alloc on failure
|
9 anni fa |
ticki
|
d6f871535b
Fix OOB in `alloc`
|
9 anni fa |
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 anni fa |
ticki
|
fc19fb6de1
Inline smaller functions, update README, add benchmarks
|
9 anni fa |
ticki
|
b68418f6f9
Add Vec<Box<T>> test
|
9 anni fa |
ticki
|
8b50a1abdb
Adjust BRK factors, fix bug due to delimiting empty block.
|
9 anni fa |
ticki
|
7f66ee45a0
Add instructions for usage
|
9 anni fa |
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 anni fa |
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 anni fa |
Jeremy Soller
|
0ac228d16d
Fix cfg flags for Redox
|
9 anni fa |
ticki
|
8266f890d3
Enable inplace reallocation (buffer extension) again
|
9 anni fa |
ticki
|
413aaeb77b
Merge branch 'master' of github.com:redox-os/ralloc
|
9 anni fa |
ticki
|
377ac02d18
Fix numerous bugs, temporarily disable inplace reallocation, add debug dumps
|
9 anni fa |
ticki
|
c541cec1d6
Better debug assertions and consistency checks
|
9 anni fa |