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

"Tiered JIT" option only shows the first tier of the JIT. #1

Open
ghost opened this issue Jan 29, 2020 · 3 comments
Open

"Tiered JIT" option only shows the first tier of the JIT. #1

ghost opened this issue Jan 29, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 29, 2020

Currently, enabling "Tiered JIT" will only show you the first tier of the tiered JIT.

It'd be handy to be able to choose the tier you want to inspect.

@YoshihiroIto
Copy link
Owner

Thanks for your feedback.

I thought your idea was great, so I looked again at Tiered Compilation documents.However, I did not find a way to choose tier.

Do you know how?

@ghost
Copy link
Author

ghost commented Jan 30, 2020

From what it seems currently the JIT doesn't expose a way to request a method to be compiled in a specific tier, so this idea will most likely have to be put on hold until they expose an API for it.

You can mark a method with [MethodImpl(MethodImplOptions.AggressiveOptimisation)] as a workaround for now to force it to compile with the highest tier.

@YoshihiroIto
Copy link
Owner

I will wait for the API to be published.

Thank you!

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

No branches or pull requests

1 participant