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

[RuntimeAsync] Fix GC holes for suspended runtime-async methods + collectible assemblies #2759

Open
jakobbotsch opened this issue Nov 8, 2024 · 0 comments
Labels
area-async Runtime generate async state machines

Comments

@jakobbotsch
Copy link
Member

There are currently two GC holes in the face of collectible assemblies:

  • If a runtime-async method has its code placed in a collectible assembly then nothing keeps that assembly alive while it is suspended
  • If a runtime-async method has a shared generic context then nothing reports its loader allocator after it is suspended

More context: #2755 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-async Runtime generate async state machines
Projects
None yet
Development

No branches or pull requests

2 participants