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

Put all metadata calls into GC #20833

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

schveiguy
Copy link
Member

The GC is now fully responsible for storing and managing all metadata in GC blocks. The runtime will now just use GC calls to manage the metadata.

This allows GCs to innovate with how to store the metadata and not make any assumptions about the storage and retrieval of metadata.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @schveiguy!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#20833"

@thewilsonator thewilsonator added the Druntime:GC Issues relating the Garbage Collector label Feb 7, 2025
core/internal/array. All metadata management should be done by GC.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Druntime:GC Issues relating the Garbage Collector
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants