Skip to content

Conversation

cshung
Copy link
Contributor

@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
area-CoreclrInterpreter * 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.

2 participants