From 945217f01020ec6f31e8f049a2894ac983d49841 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Fri, 22 May 2026 18:47:54 +0200 Subject: [PATCH] Enable server GC Workstation GC pauses every managed thread on Gen-1/2 collections, so background allocations (decompiler work, layout deserialise, search streaming) stall the UI thread for the duration of the pause. Server GC spawns one heap per CPU core with dedicated GC threads; collections of one heap don't pause the others. Concurrent stays on so even server collections don't stop-the-world for long. Assisted-by: Claude:claude-opus-4-7:Claude Code --- ILSpy/ILSpy.csproj | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ILSpy/ILSpy.csproj b/ILSpy/ILSpy.csproj index 9a67f6b18..53b8a674d 100644 --- a/ILSpy/ILSpy.csproj +++ b/ILSpy/ILSpy.csproj @@ -15,6 +15,14 @@ [NonShared] attribute (the absence of [Shared] *is* the non-shared semantic), so the warning is a false positive on every Options panel viewmodel. --> $(NoWarn);MEF002;MEF004;CA1001;CA2213 + + true + true