Ivan Zhdanov

Results comments of Ivan Zhdanov

In the test environment we are very active in creating containers and child containers. We have found a memory leak. A lot of objects can't be GC'ed because the are...

I researched this problem earlier. Lock happens in https://source.dot.net/#System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs,530 This method calls `RuntimeType.GetMethodBase` which updates some internal cache in https://source.dot.net/#System.Private.CoreLib/src/System/RtType.cs,374 in lock.

I also worked with this issue. I created benchmark, which reproduces the slowdown in our use case. It's just calls some method, which call 1000 different compiler-generated `Expression.Lambda` . [ExpressionLambdaBench.zip](https://github.com/dotnet/runtime/files/4252341/ExpressionLambdaBench.zip)...

We faced exactly the same problem on our production servers! There was ~900 threads, waiting for : ``` 000000CA025FD688 00007ff8d0296594 [HelperMethodFrame_1OBJ: 000000ca025fd688] System.Threading.Monitor.ReliableEnter(System.Object, Boolean ByRef) 000000CA025FD7E0 00007ff84a8914e2 System.RuntimeType+RuntimeTypeCache+MemberInfoCache`1[[System.__Canon, System.Private.CoreLib]].Insert(System.__Canon[] ByRef,...

I have made a very simple test that shows that the problem is quite serious in the following scenario. For any code that uses expressions with closure C# compiler generates...

We actually caught a lock convoy on our production servers due to this issue. Despite the fact that the bottleneck is usually the query to the database, we still ran...

IHttpContextAcessor also will not work properly. Having such a behavior make AsyncLocal very unreliable thing to use. I would prefer a performance tradeoff to this behavior.

We faced the same problem. In our case, it leads to denial of service, since there are limits on memory consumption in k8s. Any service that uses `System.Drawing.Graphics` for image...

Hello! Looks like we hit same problem. We was able to collect useful diagnostics data: ``` (lldb) bt * thread #1, name = 'ServiceTitan.Fo', stop reason = signal SIGSEGV: invalid...

@mangod9 It started happening after upgrade from latest dotnet 5 to `6.0.10`. I cannot give a dump, because coredump generated by CLR (via COMPlus_DbgEnableMiniDump) doesn't contain needed data. It shows...