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

Garbage collection #103

Open
tardieu opened this issue Dec 14, 2023 · 0 comments
Open

Garbage collection #103

tardieu opened this issue Dec 14, 2023 · 0 comments

Comments

@tardieu
Copy link
Member

tardieu commented Dec 14, 2023

MCAD caches limited information about AppWrappers in maps keyed by the AppWrapper UID. The cached information is cleared when we finalize the deletion of the AppWrapper by removing the finalizer. It is possible for the cached information to leak, i.e., remain in memory post deletion, if the finalizer is deleted outside of MCAD. MCAD needs a garbage collection mechanism to purge cached entries for non-existent UIDs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant