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

[release/8.0-staging] [mono][interp] Resolve virtual method on delegates created by compiled code #101290

Merged

Commits on Apr 19, 2024

  1. [mono][interp] Resolve virtual method on delegates created by compile…

    …d code
    
    Creating a delegate would normally end up calling into the runtime via ves_icall_mono_delegate_ctor. However, jit/aot backand have a fastpath where the delegate is not fully initialized (relying on the delegate trampoline to resolve the actual method to be called when the delegate is first called). Interp delegate initialization therefore doesn't take place. If this is the case and the delegate method is virtual, we would need to resolve it based on the target object.
    BrzVlad authored and github-actions committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    16fc7b0 View commit details
    Browse the repository at this point in the history