.NET Internals Cookbook Part 2 — GC-related things

This is the second part of the .NET Internals Cookbook series. For your convenience you can find other parts in the table of contents in Part 0 – Table of contents 7. How to compact the LOH? You need to set GCSettings.LargeObjectHeapCompactionMode property to CompactOnce. It will be compacted when the GC will be cleaning … Continue reading .NET Internals Cookbook Part 2 — GC-related things

.NET Internals Cookbook Part 1 — Exceptions, filters and corrupted processes

This is the first part of the .NET Internals Cookbook series. For your convenience you can find other parts in the table of contents in Part 0 – Table of contents 1. What happens when you throw something which does not inherit from System.Exception? Was it different in .NET 1? First, you should ask „how … Continue reading .NET Internals Cookbook Part 1 — Exceptions, filters and corrupted processes