Egor Bogatov

Results 218 comments of 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`. > >...

> 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! Let me take a look, I've seen some of these too