We can.
- for some critical part of application code using
GC.TryStartNoGCRegionmethod. - using
CER(Constrained Execution Regions) (obsolete) - with
GC LatencyModes
Further read:
https://learn.microsoft.com/en-us/dotnet/standard/garbage-collection/latency


One Reply to “Is it possible to block GC?”