Is it possible to block GC?

We can.

  • for some critical part of application code using GC.TryStartNoGCRegion method.
  • using CER (Constrained Execution Regions) (obsolete)
  • with GC LatencyModes

Further read:

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

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve : *
1 + 12 =