Uh oh!
There was an error while loading. Please reload this page.
Get rid of EETypePtr - #97207
Conversation
Resolvesdotnet/runtimelab#232. This wrapper served two purposes over `MethodTable*`: * Make sure equality semantics were enforced at the time where we could have multiple `MethodTable*` representing the same type. This is no longer the case and we don't need it for this purpose. * Save us from typing `unsafe` Apart from this, it also pessimized codegen (see the linked issue). Bye `EETypePtr`. I didn't fully delete it because the `CorElementType` conversion is still there. We can deal with that later.
ghost
commented
Jan 19, 2024
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas Issue DetailsResolves dotnet/runtimelab#232. This wrapper served two purposes over
Apart from this, it also pessimized codegen (see the linked issue). Bye I didn't fully delete it because the Cc @dotnet/ilc-contrib
|
jkotas
left a comment
There was a problem hiding this comment.
LGTM once the CI is green. (It may be a good idea to run outer loop too.)
jakobbotsch
commented
Jan 19, 2024
I would be curious to learn about the concrete examples here. I'm aware of the tailcall issue, but the other one I'd be interested in looking closer at. |
MichalStrehovsky
commented
Jan 20, 2024
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
MichalStrehovsky
commented
Jan 20, 2024
Can we get jit diffs for the PR or that doesn't work for non-JIT changes? |
jakobbotsch
commented
Jan 22, 2024
Sadly I don't think we have an automated way to get diffs for a change like this one. |
Resolvesdotnet/runtimelab#232. This wrapper served two purposes over `MethodTable*`: * Make sure equality semantics were enforced at the time where we could have multiple `MethodTable*` representing the same type. This is no longer the case and we don't need it for this purpose. * Save us from typing `unsafe` Apart from this, it also pessimized codegen (see the linked issue). Bye `EETypePtr`. I didn't fully delete it because the `CorElementType` conversion is still there. We can deal with that later.
kunalspathak
commented
Jan 24, 2024
I am seeing crashes if I create an app using Repro steps:
Reverting this change fixes this crash. |
jkotas
commented
Jan 24, 2024
Publish your app using locally built packages: https://github.com/dotnet/runtime/blob/main/docs/workflow/building/coreclr/nativeaot.md#building-packages . This will guarantee that you have matching set of bits. |
Resolvesdotnet/runtimelab#232.
This wrapper served two purposes over
MethodTable*:MethodTable*representing the same type. This is no longer the case and we don't need it for this purpose.unsafeApart from this, it also pessimized codegen (see the linked issue). Bye
EETypePtr.I didn't fully delete it because the
CorElementTypeconversion is still there. We can deal with that later.Cc @dotnet/ilc-contrib