Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for large objects #21

Open
pliniker opened this issue Jul 7, 2020 · 0 comments
Open

Support for large objects #21

pliniker opened this issue Jul 7, 2020 · 0 comments
Labels
allocator Area: allocator easy Little experience and/or subject matter knowledge required

Comments

@pliniker
Copy link
Member

pliniker commented Jul 7, 2020

Currently, the allocator only allows objects up to 32k (the Immix block size) - large objects are not supported.

The code path in stickyimmix/heap.rs:114 that raises an error should implement some other mechanism for tracking large objects.

I haven't thought this through yet but my initial half-baked thought has been to keep a list (linked list? Vec?) of large objects, where memory for large objects might be backed by Vec<u8> and the object header stored in the initial word(s).

@pliniker pliniker added medium Some experience and/or subject matter knowledge required allocator Area: allocator labels Jul 7, 2020
@pliniker pliniker mentioned this issue Jul 7, 2020
@pliniker pliniker added easy Little experience and/or subject matter knowledge required and removed medium Some experience and/or subject matter knowledge required labels Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
allocator Area: allocator easy Little experience and/or subject matter knowledge required
Projects
None yet
Development

No branches or pull requests

1 participant