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

Add support for local array types in EventPipe C library. #46924

Merged

Conversation

lateralusX
Copy link
Member

In C++ EventPipe library implementation there where use of stack allocated CQuickArrayList instances reducing need for heap allocations. This PR adds a mechanism to declare a local array and on runtimes that support such a data type (on CoreClr it will be CQuickArrayList) it will do a stack based instead of an heap allocated instance. On runtime that don't have similar data types (like Mono), the underlying type will still be heap allocated.

@lateralusX lateralusX merged commit ef73cd9 into dotnet:master Jan 14, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Feb 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants