News for hackers. Stuff that matters.
Re:GC progress from JDK 8 to JDK 17 by akshat_h on Wednesday November 24, 2021 @11:45PM (#29338299)
I haven't personally used this, but does this work?

GC.TryStartNoGCRegion Method

Attempts to disallow garbage collection during the execution of a critical path.

https://docs.microsoft.com/en-us/dotnet/api/system.gc.trysta...

Re:GC progress from JDK 8 to JDK 17 by bob1029 on Thursday November 25, 2021 @04:08AM (#29339592)
Pretty sure that is wired up like an elevator close button. Never seen it make a difference and not for lack of trying.