Skip to content

[runtime] Call into managed code to call GC.Collect instead of using embedding API. - #10828

Merged
rolfbjarne merged 1 commit into
dotnet:mainfrom
rolfbjarne:managed-gc
Mar 11, 2021
Merged

[runtime] Call into managed code to call GC.Collect instead of using embedding API.#10828
rolfbjarne merged 1 commit into
dotnet:mainfrom
rolfbjarne:managed-gc

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

Any performance difference will be neglible compared to running the GC, so
there's no compelling reason to use the embedding API.

This makes things a bit easier with CoreCLR, since the new code works there too.

This also required a few changes in delegates.t4 to make code generation for
functions without arguments work correctly.

…embedding API.

Any performance difference will be neglible compared to running the GC, so
there's no compelling reason to use the embedding API.

This makes things a bit easier with CoreCLR, since the new code works there too.

This also required a few changes in delegates.t4 to make code generation for
functions without arguments work correctly.
@rolfbjarne rolfbjarne added the not-notes-worthy Ignore for release notes label Mar 10, 2021
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ Tests passed on Build. ✅

Tests passed on Build.

API diff

✅ API Diff from stable

View API diff

🎉 All 182 tests passed 🎉

Pipeline on Agent XAMBOT-1095'

@rolfbjarne
rolfbjarne merged commit a8b3d9c into dotnet:main Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

not-notes-worthy Ignore for release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants