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

Roadmap to the proper support of finalisation #2

Closed
8 tasks done
wks opened this issue Apr 29, 2022 · 3 comments
Closed
8 tasks done

Roadmap to the proper support of finalisation #2

wks opened this issue Apr 29, 2022 · 3 comments

Comments

@wks
Copy link
Collaborator

wks commented Apr 29, 2022

Task list:

@wks
Copy link
Collaborator Author

wks commented Dec 6, 2022

While working on supporting VM binding-side reference/finaliser handling, I managed to handle finalisers (ObjectSpace.define_finalizer) by traversing the finalizer_table and creating "finalisation job" (our own alternative to zombies) for dead entries. Now those finalisers can be properly executed after GC is triggered.

@wks
Copy link
Collaborator Author

wks commented Dec 7, 2022

@wks
Copy link
Collaborator Author

wks commented Jan 17, 2023

The gen-weakref-api branches listed above have been merged. Closing this issue...

@wks wks closed this as completed Jan 17, 2023
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