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] NOHANDLES for ves_icall_System_Threading_Thread_GetCurrentThread #18480

Merged
merged 3 commits into from Jan 17, 2020

Conversation

lambdageek
Copy link
Member

This function (and its call to mono_handle_new) was showing up in the
flamegraph for some async-heavy benchmarks

…hread

This function (and its call to mono_handle_new) was showing up in the
flamegraph for some async-heavy benchmarks
@lambdageek
Copy link
Member Author

@monojenkins build deb with monolite

@CoffeeFlux CoffeeFlux changed the title [runtime] NOHANDLES for NOHANDLES for ves_icall_System_Threading_Thread_GetCurrentThread [runtime] HANDLES for NOHANDLES for ves_icall_System_Threading_Thread_GetCurrentThread Jan 16, 2020
@lambdageek
Copy link
Member Author

@monojenkins build

@lambdageek lambdageek changed the title [runtime] HANDLES for NOHANDLES for ves_icall_System_Threading_Thread_GetCurrentThread [runtime] NOHANDLES for ves_icall_System_Threading_Thread_GetCurrentThread Jan 16, 2020
extern static Thread InitializeCurrentThread ();
private extern static void InitializeCurrentThread_icall (ref Thread thread);

static Thread InitializeCurrentThread () {
Copy link
Contributor

Choose a reason for hiding this comment

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

We are supposed to mark this NoInline right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Hm. yea. I think we want to try to replace it with an intrinsic in the near future

@lambdageek lambdageek merged commit c1498b8 into mono:master Jan 17, 2020
lambdageek added a commit to lambdageek/mono that referenced this pull request Jan 17, 2020
Follow-up forhttps://github.com/mono/pull/18480

We might want to replace calls to this with an intrinsic
lambdageek added a commit to lambdageek/mono that referenced this pull request Jan 17, 2020
Follow-up for mono#18480

We might want to replace calls to this with an intrinsic
akoeplinger pushed a commit that referenced this pull request Jan 17, 2020
Follow-up for #18480

We might want to replace calls to this with an intrinsic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants