Egor Bogatov
Egor Bogatov
> Can you add `[MethodImpl(MethodImplOptions.NoInlining)]` in `AddAndRemoveImage` and try again? There's a chance the JIT has inlined `AddAndRemoveImage`, which might have extended the lifetime of `img`. if it's inlined, then...
Might be the same issue as https://github.com/dotnet/runtime/issues/104218 cc @VSadov
> > > Can you add `[MethodImpl(MethodImplOptions.NoInlining)]` in `AddAndRemoveImage` and try again? There's a chance the JIT has inlined `AddAndRemoveImage`, which might have extended the lifetime of `img`. > >...
So far seems to be Linux only
> Sounds like a .NET incompatibility with this version of Linux, perhaps due to an SSL issue there? @EgorBo anyone on .NET team care to take a look? @bartonjs @vcsjones
Can you provide an example where it currently fails and how this helps? This code will likely brake nested types
Thanks!
Thanks! Let me take a look, I've seen some of these too
@psfinaki @vzarytovskii I presume you test it on `fsi`? have you added `fsi` as a training scenario to dotnet-optimization repo? Otherwise it produces some MIBC trained to TechEmpower, console apps...
> @vzarytovskii @EgorBo I'm afraid I don't see any difference in Giraffe compilation either :( it's the same execution time basically. Do you a MIBC that works locally? can you...