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

[runtime/dotnet] Call coreclr_initialize/monovm_initialize at startup. #10909

Merged
merged 1 commit into from
Mar 22, 2021

Conversation

rolfbjarne
Copy link
Member

We need to call coreclr_initialize/monovm_initialize at startup, so do that.
This is a partial implementation, in that we're not setting all the properties
that we should, and also the PINVOKE_OVERRIDE callback is not doing everything
it should either yet.

Ref: #10504.

We need to call coreclr_initialize/monovm_initialize at startup, so do that.
This is a partial implementation, in that we're not setting all the properties
that we should, and also the PINVOKE_OVERRIDE callback is not doing everything
it should either yet.

Ref: xamarin#10504.
@rolfbjarne rolfbjarne added the not-notes-worthy Ignore for release notes label Mar 18, 2021
@vs-mobiletools-engineering-service2
Copy link
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-1097'

@@ -6,6 +6,9 @@
#ifndef __CORECLR_BRIDGE__
#define __CORECLR_BRIDGE__

//#define LOG_CORECLR(...)
#define LOG_CORECLR(...) fprintf (__VA_ARGS__)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the diff between LOG_CORECLR and LOG_MONOVM ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no difference really, except that one is used in corelcr-bridge.m and the other in monovm-bridge.m.

@rolfbjarne rolfbjarne merged commit d778cc2 into xamarin:main Mar 22, 2021
@rolfbjarne rolfbjarne deleted the dotnet-vm-initialize branch March 22, 2021 07:18
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