www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Garbage collection in 1ms

reply Python <python python.com> writes:
https://blog.applied-algorithms.tech/a-sub-millisecond-gc-for-net

Discussions around a pauseless GC for .net


https://github.com/dotnet/runtime/discussions/115627
May 15
parent Lance Bachmeier <no spam.net> writes:
On Thursday, 15 May 2025 at 19:23:58 UTC, Python wrote:
 https://blog.applied-algorithms.tech/a-sub-millisecond-gc-for-net

 Discussions around a pauseless GC for .net


 https://github.com/dotnet/runtime/discussions/115627
As jkotas said in the discussion:
 These types of GCs typically trade throughput for shorter pause 
 times. For example, they often use GC read barriers that make 
 accessing object reference fields significantly slower.
Judging from the benchmarks that were posted there yesterday, the lowest pause times lead to approximately double the execution time. It might be worthwhile for those wanting reduced pauses but obviously not for anyone else.
May 16