memplusplus icon indicating copy to clipboard operation
memplusplus copied to clipboard

C++ memory allocator with smart GC

Results 22 memplusplus issues
Sort by recently updated
recently updated
newest added

This might require rewriting GcPtr base class to contain pointer to an object?

Medium
Refactoring

1. Make GC pass-based (do we need it?) Future work - explore some different approaches: "So the solution Azul proposes goes like this: They establish a "read barrier" that allows...

Refactoring

There are 2 possible ways of how it should be architectured: 1. Pass-based with some heuristics to find which layouting algorithm to use. 2. General layouting algorithm which will use...

Refactoring

Currently, the architecture is bad. We shouldn't use treap to facilitate all request from free list. Consider using caches, etc. - [ ] Experiment with [coz-profiler](https://github.com/plasma-umass/coz) Example profiling data: ![image](https://user-images.githubusercontent.com/39669467/197867278-59c87dfe-76e9-4081-a786-3a737c1a480d.png)

Medium
Refactoring

### Potential solution - 1 1. Can be formulated in terms of discrete knapsack w/o repetitions: 2. Item value: number of outgoing pointers / ingoing pointers. "Weight": size of the...

Low

We already have default `std::allocator` interface that uses `Allocate/Deallocate` functions directly. But we are going to get rid of these functions in the future (due to some problems described in...

Medium

- [ ] Make it possible to use as a custom allocator in Rust? (is it even possible) - [ ] Add option to write some parts of mem++ in...

Low

1. Refactor everything statistics-related (right now the system looks like a lot of dirty hacks) 2. GC metrics: #67 3. Use macros to define statistics-related things

Low