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

memcpy/memset helpers on CoreCLR may not be suspension-friendly #98620

Closed
VSadov opened this issue Feb 17, 2024 · 0 comments · Fixed by #98623
Closed

memcpy/memset helpers on CoreCLR may not be suspension-friendly #98620

VSadov opened this issue Feb 17, 2024 · 0 comments · Fixed by #98623
Assignees
Milestone

Comments

@VSadov
Copy link
Member

VSadov commented Feb 17, 2024

This came in discussions for another fix:
#98547 (comment)

We generally try avoiding unbounded operations that may happen in coop mode while running native code as they may result in arbitrary long pauses when nothing runs except the said operation.
(the operation starves GC and GC starves the rest of the app threads)

This scenario should be looked at and if needed either move to managed code, or make it happen piece-wise interleaved with suspension opportunities.

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Feb 17, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Feb 17, 2024
@VSadov VSadov added area-VM-coreclr and removed untriaged New issue has not been triaged by the area owner needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Feb 17, 2024
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Feb 17, 2024
@EgorBo EgorBo self-assigned this Feb 18, 2024
@EgorBo EgorBo added this to the 9.0.0 milestone Feb 18, 2024
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Feb 25, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants