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

Allow to use garbage collector only on the part of the heap. #30

Closed
m4drat opened this issue Jun 12, 2020 · 1 comment
Closed

Allow to use garbage collector only on the part of the heap. #30

m4drat opened this issue Jun 12, 2020 · 1 comment

Comments

@m4drat
Copy link
Owner

m4drat commented Jun 12, 2020

E.g. some part of memory is manually-controlled, and another using GcPtr and GC. So add new info bit to the chunk structure: IsControlledByGc.

@m4drat m4drat added the Medium label Jun 12, 2020
@m4drat m4drat modified the milestones: Garbage Collector, Memory Allocator, Memory Manager Jun 12, 2020
@m4drat
Copy link
Owner Author

m4drat commented Oct 26, 2021

This feature is considered useless, and thus will be removed in future, because users will lose all the advantages of this allocator if they are using raw pointers. For example they will not be able to use GC (because this requires heap compacting which in turn requires updating pointers). Even if we will make some code changes to support GC + raw pointers memory management this will still be useless due to the fact, that we are not able to update values of raw pointers.

@m4drat m4drat closed this as completed Oct 26, 2021
This was referenced Feb 23, 2022
@m4drat m4drat changed the title Make possible using garbage collector only on the part of heap. (e.g. some part of memory is manually-controlled, and another using GcPtr and GC). So add new info bit ot the chunk structure: IsControlledByGc. Allow to use garbage collector only on the part of the heap. Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant