Skip to content

Conversation

@Sergio0694
Copy link
Member

This PR includes just a couple of tweaks to ExceptionHelpers.SetErrorInfo:

  • Use WindowsCreateStringReference, since we can just pin the source text.
  • Avoid allocating a temporary IObjectReference object.

@Sergio0694 Sergio0694 added performance Related to performance work gc Related to garbage collection labels Oct 14, 2024
@Sergio0694 Sergio0694 requested a review from manodasanW October 14, 2024 05:52
@Sergio0694 Sergio0694 force-pushed the user/sergiopedri/exception-tweaks branch from bd0b721 to 0327e44 Compare October 14, 2024 05:52
@manodasanW manodasanW merged commit 13ea06c into master Oct 22, 2024
@manodasanW manodasanW deleted the user/sergiopedri/exception-tweaks branch October 22, 2024 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gc Related to garbage collection performance Related to performance work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants