-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[mono][fullaot] Calling static virtual method from a generic method leads to "Attempting to JIT" error #65002
Labels
Milestone
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
dotnet-issue-labeler
bot
added
the
untriaged
New issue has not been triaged by the area owner
label
Feb 8, 2022
FYI @vargaz |
Running with
runtime/src/mono/mono/mini/method-to-ir.c Lines 7360 to 7362 in a702712
|
This was referenced Feb 8, 2022
ghost
added
the
in-pr
There is an active PR which will close this issue when it is merged
label
Feb 10, 2022
vargaz
added a commit
to vargaz/runtime
that referenced
this issue
Feb 10, 2022
…ode. Fixes dotnet#65002. When called from gshared code, these methods cannot be resolved at compile time, since they depend on the constrained class which is only known at runtime. * For calls from normal gshared code, load the method address from the rgctx. * For calls from gsharedvt code, extend the existing mono_gsharedvt_constrained_call () JIT icall to be able to handle static virtual methods.
vargaz
added a commit
that referenced
this issue
Feb 10, 2022
…ode. (#65126) Fixes #65002. When called from gshared code, these methods cannot be resolved at compile time, since they depend on the constrained class which is only known at runtime. * For calls from normal gshared code, load the method address from the rgctx. * For calls from gsharedvt code, extend the existing mono_gsharedvt_constrained_call () JIT icall to be able to handle static virtual methods.
ghost
removed
the
in-pr
There is an active PR which will close this issue when it is merged
label
Feb 10, 2022
ghost
locked as resolved and limited conversation to collaborators
Mar 12, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Compile this sample for FullAOT, then
make run
. Expected result: "Taking transition" is printed out. Actual result:Makefile:
The text was updated successfully, but these errors were encountered: