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

Tagged pointer prototype and ready to run interpreter integration study #2863

Draft
wants to merge 2 commits into
base: feature/CoreclrInterpreter
Choose a base branch
from

Conversation

cshung
Copy link
Member

@cshung cshung commented Dec 6, 2024

This PR is a combination of two independent investigations

  1. Tagged pointer prototype - I attempted to hack the CoreCLR so that I replace a normal function pointer by a tagged MethodDesc/InterpreterMethodInfo to allow a pure interpreted execution (i.e. no dynamic code generation). The prototype does not work completely, it only works for a few calls, but it shows how this could be done.

  2. ReadyToRun interpreter integration study - this one is NOT implemented, this just resulted in a document describe how the current code work for a particular scenario (ReadyToRun code calls a static method) and where in the code we could change to implement something quickly for this particular case.

This is meant to be shared, not meant to be merged.

@cshung cshung marked this pull request as draft December 6, 2024 23:19
@cshung cshung added the * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) label Dec 6, 2024
@cshung cshung force-pushed the public/tagged-pointer-prototype branch from b108ce2 to 199ee57 Compare December 11, 2024 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
* NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant